CGI scripts not working
Robert Teel
joeyteel at bbcatgirls.com
Mon Sep 1 17:31:55 UTC 2014
>
> Here is what I have in my httpd.conf
>
> ScriptAlias /cgi-bin/ "/usr/home/ipaudit/public_html/cgi-bin/"
>
> <Directory "/usr/home/ipaudit/public_html/cgi-bin/">
> AllowOverride None
> # Options None
> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> Order allow,deny
> Allow from all
> Require all granted
> </Directory>
>
> AddHandler cgi-script .cgi
>
> ls -la /home/ip[audit/public_html/cgi-bin
> drwxr-xr-x 2 root wheel 512 Sep 1 07:55 cgi-bin
Check your ScriptAlias and Directory block. Most of the paths show using
/home but those directives are using /usr/home. Assuming /home is a
separate partition remove /usr from them and it should work correctly. If
/home is a symlink to /usr/home change the ones using just /home to
/usr/home to fix it.
More information about the freebsd-questions
mailing list