Forum Moderators: coopster & phranque

Message Too Old, No Replies

Help with "Forbidden: No permission to access localhost/cgi-bin"

Trying to run perl script with Apache 2.0 on Win XP

         

NewtoApacheWebserver

9:04 pm on Oct 20, 2004 (gmt 0)



Hello,

I keep getting this message when I try to run a simply hello world perl script from [localhost...]

"Forbidden: You don't have permission to access /My Website/first.cgi on this server."

The first.cgi file is stored under C:\Program Files\Apache Group\Apache2\htdocs\My Website

I downloaded/installed Apache 2.0, and Active Perl on my desktop which runs Windows XP. I have modified the httpd.conf file with all suggestions I found on many websites across the internet, but I am still unable to get it to work. Can someone please help me with this. What am I doing wrong? :((

adni18

11:51 am on Oct 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is your public_html folder working? If so, try chmoding cgi-bin to 755. that should help.
You might also want to check your .htaccess file for clues.