Amos94 / webchat2

Automatically exported from code.google.com/p/webchat2
GNU General Public License v2.0
0 stars 0 forks source link

typo in httpServer.php #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 8 years ago
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 8 years ago
@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