Apach,PHP,Windows CGI-BIN Directory
Posted: Tue Jun 21, 2005 2:40 pm
I need some help I’ll start by saying I’m a novice with apache and php, so onto my problem I have some php scripts in my /cgi-bin/ directory and when their called from the browser the don’t execute but instead offer you to download them and that isn’t good. I have multiple Virtual hosts setup as below but it seems that the .php extension is not being picked up to be run. PHP is installed as a module.
Can anybody help?
Can anybody help?
Code: Select all
<VirtualHost *:80>
ServerAdmin support@somesite.com
DocumentRoot E:/www/apache2/htdocs/somesite.com
ServerName www.somesite.com
ErrorLog logs/ somesite_error.log
CustomLog logs/ somesite_access.log common
ScriptAlias /cgi-bin/ "e;E:/www/apache2/htdocs/somesite.com/cgi-bin/"e;
<Directory "e;E:/www/apache2/htdocs/somesite.com/cgi-bin/"e;>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>