Hi,

I had created a directory named cgi-bin insdie /var/www/ and I had kept
inside that folder a .html file and a .pl file which was called in html
action.But when i try to access the directory or files in that directory
using http://localhost/cgi-bin/ I am getting FORBIDDEN 403 error saying that
I don't have permissions to access cgi-bin directory. Googled for so much
time to find the answer but even after implementing script alias code in
httpd.conf file there is no use.

Even I have tried changing the owner permissions to root,nobody and www-data
but it didn't work a bit. Still the same forbidden error message is
displayed.

It would be great if anyone give an ideal solution to this problem. Thanks
in advance.

Below is my latest edited httpd.conf file

ServerName localhost

User nobody
Group #-1

DocumentRoot /var/www/cgi-bin/

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

<Directory /var/www/cgi-bin/>

Options +Indexes FollowSymLinks +ExecCGI
AddHandler cgi-script   .cgi   .pl
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all


</Directory>




-- 
Thanks & Regards,
Deepak.L
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to