[ILUG] Apache-Perl CGI Forbidden
linux at esatclear.ie
Tue Jun 14 19:59:33 IST 2005
Colin O'Keeffe wrote:
>I;ve installed apache-perl on debian and havnt changed any configs
>however if i do http://localhost/cgi-bin/
>i get forbidden
>whats up ?
Let's start simple ... you cannot (afair) list the cgi-bin under apache
on debian (I doubt you can do it in any stock apache install). You
don't generally want to advertise everything you have in that folder
though security through obscurity ...
Do you only have apache-perl installed, not other apache servers aswell
("dpkg -l | grep ^i | grep apache") ? Are you sure your one apache
server is running ("ps aux | grep apache")? As always I'm sure a better
version of the commands I've given will be volunteered, but they should
I'm afraid you'll probably have to edit the apache-perl configs, and
enable the cgi-bin.
/usr/share/doc/apache* should also be your friend around now.
Then if things still aren't working (try making and accessing a hello
program in your cgi of choice), look in /var/log/apache*/error* to find
out what is happening.
More information about the ILUG