try running the script from the command line
also use -w
----- Original Message ----- 
From: "Xiangli Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 04, 2004 10:37 AM
Subject: beginning question for cgi


> 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!',
>       end_html();
> 
> I use Mozilla web browser, enter URL:
> http://localhost/cgi-bin/simple.cgi
> 
> It tell me the following error:
> 
> Internal Server Error
> 
> The server encountered an internal error or
> misconfiguration and was unable to complete your
> request.
> 
> Please contact the server administrator,
> [EMAIL PROTECTED] and inform them of the time the error
> occurred, and anything you might have done that may
> have caused the error.
> 
> More information about this error may be available in
> the server error log.
> 
> Thanks a lot,
> 
> Justin
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to