Results 1 to 3 of 3
Hello,
I am running Ubuntu 8.10. I for the life of me cannot get my cgi-bin working. I am running apache2 for a local web server for testing. I hope ...
- 04-09-2009 #1
cgi-bin problem
Hello,
I am running Ubuntu 8.10. I for the life of me cannot get my cgi-bin working. I am running apache2 for a local web server for testing. I hope someone may help please.
Thank you
BobbyS
- 04-09-2009 #2
Ok well what I would do as a test is in your /var/www/cgi-bin/ dir put in a text file with just some rubbish, then point your browser to http://localhost/cgi-bin/NAMEOFTEXTFILE.txt and this file should be displayed, this will rule out permission issues on the cgi-bin dir and the .txt file – or alternatively you run from the /var/www/cgi-bin/
chmod 777 filename.pl
to give full rwx permissions.
If I'm correct when specifying the AddHandler line, you're meant to put in the '.' eg;
AddHandler cgi-script .cgi .pl
That is according the the apache docs (Apache module mod_mime)
- 04-09-2009 #3
Thanks for the response!
I tried what you suggested and it still will not work.


Reply With Quote