[Gllug] perl & cgi glitches
Xander D Harkness
xander at harkness.co.uk
Sat Dec 22 05:45:35 UTC 2001
I have a friend who wants to run cgi scripts on one of my boxes.
The script will not run even though I am told it will run on his
configuration.
I get the following error:
[Sat Dec 22 05:14:00 2001] [error] (2)No such file or directory: exec of
/home/ukadis/htdocs/cgi-bin/test_one.pl failed
[Sat Dec 22 05:14:01 2001] [error] [client 213.48.46.210] Premature end
of script headers: /home/ukadis/htdocs/cgi-bin/test_one.pl
The script is :
#!/usr/local/bin/perl
print "<HTML>";
print "<HEAD>";
print " <TITLE>test</TITLE>";
print "</HEAD>";
print " <BODY TEXT = BLUE BGCOLOR = WHITE>";
print " Test perl scripts";
print "</BODY> </HTML>";
The apache config is:
AddHandler cgi-script .cgi .pl .ida
<Directory /home/ukadis/htdocs/cgi-bin>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
I would be extremely grateful if someone could point me in the correct
direction ;-)
Kind regards
Xander
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list