Unable to install PHP4.2.3 + Apache 1.3 + Win2k
| From: | Diego Fulgueira | Date: | Fri, 14 Mar 2003 17:14:45 +0000 |
| Subject: | Unable to install PHP4.2.3 + Apache 1.3 + Win2k | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-139735@lists.php.net to get a copy of this message | ||
Hi.
I followed the instructions in the php manual to install php as CGI module
under apache, under windows. I get the following message when requesting
a php file:
Invalid URI in request GET /mydir/myfile.php HTTP/1.1
I believe this is because Apache is not getting the protocol:host part of
the request
(in this case: http://localhost/). I don't know why this
happens.
Something else: The PHP manual recommends adding the line:
ScriptAlias /php/ "c:/php/"
to the http.conf file. But I don't want ONLY the files under /php/ to be
interpreted
as scripts. Rather, I want ALL the files in my documentRoot directory to be
interpreted as scripts.
Any ideas? Thanks in advance