Results 1 to 3 of 3
I have changed the permissions of the perl script to 777. I have logged in as root. Although I still face this problem.
Forbidden
You don't have permission to access ...
- 12-05-2009 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 1
Error running perl scripts on Apache
I have changed the permissions of the perl script to 777. I have logged in as root. Although I still face this problem.
Forbidden
You don't have permission to access /cgi-bin/7a.pl on this server.
Apache/2.2.10 (Fedora) Server at localhost Port 80
Any Ideas?
- 12-08-2009 #2Just Joined!
- Join Date
- Nov 2008
- Location
- Virginia, USA
- Posts
- 18
Can you post the output of
Keep in mind that the script is being run by (probably) the apache user. So the permissions will need to be the same as when you want to allow another user to run one of your scripts. Are you using the default httpd.conf or is it heavily modified? Also, right after you try to view the page runCode:ls -l /var/www/cgi-bin # Or whatever your webroot/cgi-bin is.
and post it here please. You can remove IPs and such.Code:tail /var/log/httpd/error_log
- 12-08-2009 #3Just Joined!
- Join Date
- Dec 2009
- Posts
- 1
Hello,
I faced the same problem. There is some problem in the port of my system. First you check the server that not any other server not installed on the same port.
Regards,
Olivia
Newtonit.co.uk


Reply With Quote