Thanks for the suggestion "<Directory /cgi-bin>" Wullie, but I'm still having no luck.
Mithrilhall, from what I can see from the original conf files that came with my version of apache, if you have the line:
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
then where you define...
Here is the script:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello World";
As you can see its pretty basic, thats why I don't see why it won't run!
Shodan44
So it looks like I have got the correct setup! Why would APACHE keep saying it can't find the file though? I took out the "#!" in front of the path to perl at the top of my test script and the error that came up was something like Exec faild: Script format error. That tells me it...
Greetings. I am running Apache 1.3.9 and am having a great deal of trouble in getting CGI scripts to run. I am constantly getting the "500 Internal server error" page. The error.log is always saying exec failed because the file or dirtory does not exist. E.G.
[Sun Apr 14 06:56:03...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.