[thelist] Apache cgi-bin configuration error

Chris Ditty cditty at gmail.com
Fri Nov 17 12:03:40 CST 2006


I am having a weird problem trying to configure apache to run cgi
scripts.  In the apache httpd.conf file, I have this.....

ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

    <Directory "/usr/local/apache/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>

and in the VirtualHost, I have this....

ScriptAlias /cgi-bin/ /home/refugefo/public_html/cgi-bin/

but when I try and run a script in the cgi-bin directory, I see this
in the error_log file.

File does not exist: /home/refugefo/public_html/refuge/cgi-bin/scriptname

Nowhere in the httpd.conf file is public_html/refuge/

The script has been properly chmod and chown.  What am I missing?  I
can't figure out where that second refuge is coming from.



More information about the thelist mailing list