On Tue, 2005-07-12 at 17:07 -0500, Scott Heisler wrote:
I'm trying to get perl working correctly on a new server and have a tough time. The server works fine for all standard web pages and hosts about 10 domains. Here's is my test.cgi CGI script I'm trying to run:
#!/usr/bin/perl
print "Content-type: text/html\n\n"; print "Hello!";
When I attempt to access the file via a web browers, I get this:
[Tue Jul 12 16:46:11 2005] [error] [client 209.74.180.78] (13)Permission denied: exec of '/var/www/cgi-bin/test.cgi' failed [Tue Jul 12 16:46:11 2005] [error] [client 209.74.180.78] Premature end of script headers: test.cgi
What am I missing?
http://fedora.redhat.com/docs/selinux-apache-fc3/