Re: Invalid URI in request error when trying to setup PHP3 with Apach e on NT

From: Date: Wed, 02 Aug 2000 20:03:46 +0000
Subject: Re: Invalid URI in request error when trying to setup PHP3 with Apach e on NT
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-1490@lists.php.net to get a copy of this message
On 2 Aug 2000 10:54:09 -0700, Michael.Josephson@teleca.com (Michael Josephson) wrote: >Hi, > >I'm pretty familiar with Apache, MySQL, PHP etc on Unix but am now trying to >get a similar setup running on an NT4 server. > >I've got a standard install of Apache 1.3.12 up and running and have >unzipped PHP3 into e:\php3 and added: > >AddType application/x-httpd-php3 .php3 >AddType application/x-httpd-php3 .phtml >Action application/x-httpd-php3 e:/php3/php.exe > >to httpd.conf > >I'd like php scripts to work from any directory so I haven't tried to setup >a ScriptAlias. > >However, when I try and open a .php3 page I get: > >Bad Request >Your browser sent a request that this server could not understand. >Invalid URI in request GET /test.php3 HTTP/1.1 > >Any ideas what I've missed out? > >thanks, > >Michael > >-- >Michael Josephson, Teleca Ltd >direct: 0161-447 6829 Hello Michael, First, add the line: ScriptAlias /php3/ "c:/php3/" Second, change the line: Action application/x-httpd-php3 e:/php3/php.exe To: Action application/x-httpd-php3 /php3/php.exe Hope this helps, JasonWP

« previous php.windows (#1490) next »