PHP/CGI Help
| From: | Maroufski | Date: | Thu, 22 Mar 2001 22:41:23 +0000 |
| Subject: | PHP/CGI Help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-45200@lists.php.net to get a copy of this message | ||
Hi all,
This is a tough one, wasn't able to find a solution so far. But
I hope that someone can help me out
or point me in the right direction.
Here is what I got:
/src contains a bunch of cgi scripts that require apache to have an
entry like this
ScriptAlias /src "/home/src/"
When I try to run a file with .php extension in /src I get an error.
I figured out since I have ScriptAlias /src, Apache will handle every
file called in that directory as if it were a perl /cgi program.
I need to be able to have apache execute the .cgi and .php files in
/src
Any ideas on how to make Apache differentiate between the two.
Any help would be greatly appreciated.
Nick
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nicholas Marouf || http://www.RamallahOnline.com