Re: [users@httpd] php scripts run except in cgi-bin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>
>>>>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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux