I am really starting to pull my hair out about this.
Just cannot seem to get this to work, as per the apache documentation here:
http://httpd.apache.org/docs/1.3/howto/cgi.html
I have added these to my virtual host:
Quote:
<VirtualHost *:80>
ServerAdmin webmaster@mydomain.co.uk
DocumentRoot /www/mydomain/html
ServerName www.mydomain.co.uk
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.html.var
<Directory "/www/mydomain/html">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/www/mydomain/cgi-bin"
<Directory "/www/mydomain/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
AddHandler cgi-script .cgi
</Directory>
</VirtualHost>
|
Just cannot think of anything else I am missing, any suggestions?
I mean this is outside of the httpd.conf file and is in the /etc/httpd/conf.d/vhosts.conf file I have created, should overwrite those settings shouldnt it?
I mean there is absolutely nothing in httpd.conf that relates to mydomain.co.uk at all in there, so if anything it should work, but am I missing something obvious here?
Any helps appreciated,
Jeremy.