www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keijser, Jan Just" <KEIJSE...@logica.com>
Subject RE: general/5077: Path problem when using directory Alias and CGI
Date Thu, 07 Oct 1999 16:20:03 GMT
The following reply was made to PR general/5077; it has been noted by GNATS.

From: "Keijser, Jan Just" <KEIJSERJJ@logica.com>
To: "'apbugs'" <apbugs@apache.org>
Cc:  Subject: RE: general/5077: Path problem when using directory Alias and CGI
Date: Thu, 7 Oct 1999 12:12:09 -0400 

 This is not a bug, it's a *feature* of PHP: whenever you put a .php file in
 a directory marked ExecCGI, PHP is run as a CGI and for security reasons it
 will not accept command-line parameters. This is causing the problem (the
 same thing happens on Linux/UNIX, BTW).
 
 To solve this problem, turn *OFF* the ExecCGI part of the directory
 containing your .php scripts.
 
 Here's what I use:
 
 ScriptAlias /php/ "C:/php/"
 
 ScriptInterpreterSource registry
 
 <Directory "C:/php">
     AllowOverride None
     Options None
 </Directory>
 
 You would have to add
 
 Alias /project "d:/projects"
 
 and you're all set.

Mime
View raw message