Date: Mon, 1 Sep 2014 12:31:52 -0500 From: Robert Teel <joeyteel@bbcatgirls.com> To: Monah Baki <monahbaki@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: CGI scripts not working Message-ID: <CAAu2yULG8mZsL1cB2DPkrYH0w7j%2B5GiFS-QLfABj3JjzmhNJEw@mail.gmail.com> In-Reply-To: <CALP3=x-9TJFWKzCvTo%2BiLp9cZZOKKt3vBxunmLLtor_tVWRQkg@mail.gmail.com> References: <CALP3=x-9TJFWKzCvTo%2BiLp9cZZOKKt3vBxunmLLtor_tVWRQkg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAu2yULG8mZsL1cB2DPkrYH0w7j%2B5GiFS-QLfABj3JjzmhNJEw>