Closed stevenhoneyman closed 10 years ago
for example:
$ wget -O - http://localhost --2014-07-07 20:56:51-- http://localhost/ Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:80... failed: Connection refused. Connecting to localhost (localhost)|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/octet-stream] Saving to: ‘STDOUT’
The result is 0 bytes. Firefox interprets this as a bin file with a random name. If I specify http://localhost/index.html then it works perfectly.
Please could you add a "default document" feature in the future?
Done. Thanks for the feedback.
for example:
The result is 0 bytes. Firefox interprets this as a bin file with a random name. If I specify http://localhost/index.html then it works perfectly.
Please could you add a "default document" feature in the future?