I've been able to get it to work without ScriptAlias, however it's been a
while and I've been using the Apache module for some time.

Try this:

   ScriptAlias /php/ "f:/usr/"

   AddType application/x-httpd-php .php .php3 <-- Put both extensions on
this line

   Action application/x-httpd-php "/php/php.exe"

You might want to experiment with the module. It's been pretty stable for me
on Win2K Pro and Server.

----- Original Message -----
From: "Poul Theodorsen" <[EMAIL PROTECTED]>
To: "Mike Maltese" <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 11:37 PM
Subject: Re: [PHP-INST] PHP on Windows XP problem


> No, it didn't remove the problem - it just changed it. now I get this
error
> instead :
>
> [Tue Jan 29 08:21:22 2002] [error] [client 127.0.0.1] Invalid URI in
request
> GET /myphp/test.php HTTP/1.1
>
> I used this in the config file :
> # ScriptAlias /php/ "/usr/"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> Action application/x-httpd-php "F:/usr/php.exe"
>
> The error seems to be caused by the explicit path in Action .... - if I
> change it back to "Action application/x-httpd-php "/usr/php.exe", I get
the
> same error as before :
>
> [Tue Jan 29 08:23:57 2002] [error] [client 127.0.0.1] File does not exist:
> f:/www/femw.org/web/usr/php.exe/myphp/test.php
>
> For some reason the path from the Action directive is inserted between the
> web root and the path to test.php. I suppose that the idea was that
"Action"
> shoud only tell Apache where to find php.exe. Am I wrong???
>
> Still more confused
> poul
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to