Web Hosting Talk







View Full Version : problem with cgi-bin conf


shann
06-19-2002, 10:45 AM
Hi,

I am trying to access to my cgi-bin directroy and gving me an error.

This is what I have configured in my /etc/httpd/conf/httpd.conf

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

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


This is the error message

You dont have permission to access /cgi-bin/ on this server


Thanks in advance

shann

erapid
06-19-2002, 11:14 AM
Hi

in your example you have

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

but <Directory "/var/cgi-bin">. Must be /var/www/cgi-bin


Regards

shann
06-19-2002, 12:35 PM
I was typed on boweser

localhost/cgi-bin/ and having same problem.

Also I restarted after the changes.

shan