I have installed Apache as my web server on linux and trying to use a perl script with cgi.
The Apache seems to be ok but I get a file not found when I try to run the perl script.
The url I use is;
hyper//localhost/home/mover50/Linux/chap03/example16
(with hyper actually being http
That is where the script file is located and it looks like this:
#! /usr/bin/perl
# The HTML tags are embedded in the here document to avoid using
# multiple print statements
print <<EOF; # here document in a CGI script
Content-type: text/html
<HTML><HEAD><TITLE>Town Crier</TITLE></HEAD>
<H1><CENTER>Hear ye, hear ye, Sir Richard cometh!!</CENTER></H1>
</HTML>
EOF
Any help would be most appreciated.
Thanks,
Kent
Kent (the worrier)
The Apache seems to be ok but I get a file not found when I try to run the perl script.
The url I use is;
hyper//localhost/home/mover50/Linux/chap03/example16
(with hyper actually being http
That is where the script file is located and it looks like this:
#! /usr/bin/perl
# The HTML tags are embedded in the here document to avoid using
# multiple print statements
print <<EOF; # here document in a CGI script
Content-type: text/html
<HTML><HEAD><TITLE>Town Crier</TITLE></HEAD>
<H1><CENTER>Hear ye, hear ye, Sir Richard cometh!!</CENTER></H1>
</HTML>
EOF
Any help would be most appreciated.
Thanks,
Kent
Kent (the worrier)