[Tfug] (no subject)
George Cohn
gwcohn at simplybits.net
Wed Aug 8 11:24:48 MST 2007
doug1 at email.arizona.edu wrote:
> Hi,
> I am still trying to configure my apache server to run cgi I am getting this
> error Options ExecCGI is off in this directory:
> /var/www/html/secure/statics/about/, but I am sure I turned it on with this
> statement in my httpd.conf file:
> <Directory "/var/www/html/secure/statics/about/">
> AllowOverride None
> Options +ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
Did you add the lines:
DocumentRoot /path to your regular html files
ScriptAlias /cgi-bin//var/www/html/secure/statics/about/
AddHandler cgi-script .cgi .pl
This goes right above what you posted.
It turns on the cgi script handler.
Then your scripts go in the
/var/www/html/secure/statics/about/ directory
George Cohn
More information about the tfug
mailing list