cgi-bin again being forbidden on my virtual host site
I am having yet another problem with getting forbidden on my cgi-bin folder in Centos 5.5, here are my versions of perl:
I typed in: "perl --version" this came up: Quote:
Quote:
I was following this tutorial again: http://httpd.apache.org/docs/1.3/howto/cgi.html Then added these in: Quote:
Quote:
Quote:
Quote:
Thanks and I look forward to any replies, Jez. PS I have run the script and its producing output from the shell not a web browser, tried using: Quote:
This is the script of course: Quote:
Hmm I'm really confused. |
Hi,
You need to give the full URI, including the script's name in order not to get this error. Something like: http://www.example.com/cgi-bin/script.cgi Or you can add script.cgi in the DirectoryIndex directive Note also that your script should be like the 1st one (containing the Content-type line): Quote:
|
Ah thank you for reminding me.
It works now, what it actually was also was of course my file permissions! Thank you ever so much! Jez. |
All times are GMT -5. The time now is 08:21 AM. |