Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in httpServer.php #21

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 2 comments
Open

typo in httpServer.php #21

GoogleCodeExporter opened this issue Mar 13, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 23 Nov 2008 at 8:12

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 16 Apr 2009 at 1:48

@GoogleCodeExporter
Copy link
Author

@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 [email protected] on 16 Apr 2009 at 2:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant