On Sun, 13 May 2001 20:02:11 -0500, you wrote:
>I followed the install directions for php4 exactly but a simple phpinfo page
>wouldn't work. So I extracted all the files to c:\php instead and changed
>the paths accordingly, then it worked. So I started to change all the
>directory references back and I can change them all except for this line:
>Action application/x-httpd-php /php4/php.exe
>
>If I change it to Action application/x-httpd-php /dir/dir/dir/php.exe it
>gives me a type 400 error. I know that is the correct path however.
>Anybody else had this problem?
In the 'Action application' line, the /php4/ that appears gets substituted
by whatever you had in the initial ScriptAlias line.
In other words, if your scriptalias says
ScriptAlias /php4/ /dir/dir/dir/
Then for Apache, the action line written as:
Action application/x-httpd-php /php4/php.exe
becomes effectively:
Action application/x-httpd-php /dir/dir/dir/php.exe
If, instead, you type the action line with the '/dir/dir/dir/', then to
apache I think it pretty much ends up being meaningless gibberish since
/dir/dir/dir/ has never been defined as an alias.
Alan
--
PHP Windows 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]