Re: beginning question for cgi

2004-07-04 Thread Gunnar Hjalmarsson
Xiangli Zhang wrote: my souce code(simple.cgi) #!/usr/local/bin/perl Are you sure that's the right path? The most common path to perl is /usr/bin/perl It tell me the following error: Internal Server Error More information about this error may be available in the server error log. So, what conc

beginning question for cgi

2004-07-04 Thread Xiangli Zhang
Hi,all: Can anybody help me the question? I am using apache 2.0 in redhat 9.0. I put my perl cgi script under var/www/cgi-bin my souce code(simple.cgi) #!/usr/local/bin/perl use CGI qw/:standard/; print header(), start_html(-title=>'Wow!'), h1('Wow!'), 'Look Ma, no hands!',