Please help,
This problem has me stumped. I have created a perl script that will generate an html web page on the fly. The page is to have some images in it also so I have tried to embedded them. The following is a simplified version of the project but it encompasses the problem area of the program:
#!/usr/bin/perl -w
use CGI;
print "Content-type: html/text\n\n";
print "<IMG SRC=top.gif>\n";
print "<P>Hello World</P>\n";
The image "top.gif" is located in the directory which is running the perl cgi program and the permissions have been set to 755. The "Hello World" will print if I comment out the IMG line. However, the minute I put the IMG line back I get the dreaded "Internal Server Error". Any help would be great, thanks.
This problem has me stumped. I have created a perl script that will generate an html web page on the fly. The page is to have some images in it also so I have tried to embedded them. The following is a simplified version of the project but it encompasses the problem area of the program:
#!/usr/bin/perl -w
use CGI;
print "Content-type: html/text\n\n";
print "<IMG SRC=top.gif>\n";
print "<P>Hello World</P>\n";
The image "top.gif" is located in the directory which is running the perl cgi program and the permissions have been set to 755. The "Hello World" will print if I comment out the IMG line. However, the minute I put the IMG line back I get the dreaded "Internal Server Error". Any help would be great, thanks.