httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Barrera A." <Br...@Ivn.cl>
Subject Re: [users@httpd] php scripts run except in cgi-bin
Date Thu, 09 Jun 2005 20:51:40 GMT
>>>
>>>>Anyone have any pointers on getting php scripts to run from the cgi-bin
>>>>directory? I can run php scripts fine so long as they are not in the
>>>>default
>>>>cgi-bin folder.
> 
> 
> Hmmm... I'm guessing this person wants to run the php module, not php
> as a CGI.  Hence the problem is that apache assumes everything in a
> ScriptAlias'ed directory is a CGI.  To fix this, replace the
> ScriptAlias /cgi-bin/ /whatever/
> with
> Alias /cgi-bin/ /whatever/
> 
> But be careful, since this will also disable any real CGI scripts.
> 
> Joshua.


Uh.. sorry..
didn't read the whole thread.. just corrected the cgi interpreter line

> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message