fedora apache cgi-perl

Thibaut thibaut at fuse.co.uk
Mon Jan 15 16:18:58 UTC 2007


Hi,

I try to run a perl script in my webserver. Therefore I put a script  
in the /var/www/cgi-bin/ directory. I have put the 777 permission on  
it. Here is the script :

#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
print "<html><head><title>Hello World!! </title></head>\n";
print "<body><h1>Hello world</h1></body></html>\n";


Here is the configuration of my apache server :
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

<Directory "/var/www/cgi-bin">
     AllowOverride None
     Options None
     Order allow,deny
     Allow from all
</Directory>


But i have the "Internal Server Error" error message when i lauch  
http://[IP]/cgi-bin/scriptName.pl
What is the problem ?






More information about the fedora-list mailing list