Ethernet Shield: Log sensor readings to SD card and serve the logs over Ethernet

I've gotten as far as starting the server in the sensor reading and logging sketch, it will respond to ping, but it won't serve up my logs

You can see the serial output. We can't. That is necessary to solving the problem.

One question, though. The logging always happens in one file. Why does the client need to explicitly ask for that file by name, then?

          (strstr(clientline, " HTTP"))[0] = 0;

What's the curly brace for? What happens here if " HTTP" is not part of clientline? Why is this not manipulating filename, instead?

          Serial.println("404");

Shouldn't you be telling the client this, rather than the serial port?

        /*
        if (c == '\n' && currentLineIsBlank) {
          client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/html");
          client.println("Connection: close");
          client.println();
          break;
        }
        if (c == '\n') {
          currentLineIsBlank = true;
        } else if (c != '\r') {
          currentLineIsBlank = false;
        }
      }
    }
    
    delay(1);
    client.stop();
    Serial.println("Client disconnected");
  }
  */

This isn't part of the problem, is it? We didn't need to see this.