top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Forbidden : You don't have permission to access /cgi-bin/ on this server.

+1 vote
4,215 views

I have apache server installed locally on my system. I have made a directory C:mywebsites as my public_web directory. The files and folders in this directory are accessible from web-browser but the cgi-bin directory is not accessible.

The cgi-bin directory is in C:mywebsites. How should I solve this problem.

posted Mar 23, 2014 by Prakash

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Making a guess as we dont have your config file,

You must be having something like

       <Directory "/usr/lib/cgi-bin"> // or something similar in the config file 
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>

change it to all granted instead of Order allow, deny

I would say just look at the config file and you should be able to make a guess.

answer Mar 23, 2014 by Salil Agrawal
Similar Questions
+3 votes

I am trying to upload files through html page in our Windows based server but I don't know how to take the files on remote server & save files there

0 votes

I am working CGI project using C programming and I am reading the login detail in form input fields and when I try to submit the form with empty fields it gives me 502 Bad Gateway CGI was not in CGI/1.1 complaint.note that i am redirecting to the same page I am reading the the fields.

+1 vote

I have a python script (web service with query postgresql/postgis). Up to now, i did several test on my local laptop station (windows).

Now i want to execute this python script on our remote server (Web server : Apache;OS : Linux).

How to write a CGI template please? Can someone help me?

...