typo in httpServer.php
Opened this issue · 2 comments
GoogleCodeExporter commented
there is no protocol like "'HTTP/1.1" my lighttpd told me (i'm proxying)
@@ -128,7 +135,7 @@
$output =
file_get_contents($file);
} else {
$output = '<h1>404:
Document not found.</h1>';
- $header =
"'HTTP/{$request['version']} 404 Not Found\r\n".
+ $header =
"HTTP/{$request['version']} 404 Not Found\r\n".
"Content-Length:
".strlen($output)."\r\n";
}
break;
Original issue reported on code.google.com by p...@subnet666.de
on 23 Nov 2008 at 8:12
GoogleCodeExporter commented
if your server running on windows then run chat.php script in webirc directory.
ex.
php.exe path : c:\usr\php\bin\php.exe
chat.php path : c:\usr\webchat2\chat.php
run in commandline :
C:\> cd c:\usr\webchat2
C:\usr\webchat2> c:\usr\php\bin\php.exe chat.php
Original comment by sup8...@gmail.com
on 16 Apr 2009 at 1:48
GoogleCodeExporter commented
@comment #1:
huh? that has nothing to do with that typo in the protocol name
hint: there's an hyperfluous apostrophe in front of HTTP
Original comment by p...@subnet666.de
on 16 Apr 2009 at 2:26