Hi! IIRC That is the response you get when you output a page from a cgi script that is not a page. You need to output more information from the cgi script so that the browser can display your output as a html page. Remember that the browser expects a page from the server.See attachement. _/_/ Greger Haga, [EMAIL PROTECTED] _/_/ On Sat, 29 Aug 1998, Kjell Midtseter wrote: > I can not run perl CGI scripts under my Apache server. > > I have the following script called hello.cgi in my CGI-BIN directory: > #!/usr/bin/perl > print "hello\n" > > When I run my browser as > lynx http://localhost/cgi-bin/hello.cgi > I receive an error message > 500 Internal server error. The server encountered an internal error or >misconfiguration > and was unable to complete your request. > > I am using RedHat 5.1 and the Apache that came with the distribution (latest >version?) > I have been trying to change the applicable things in the srm.conf file, but > nothing seems to help. > > Any suggestions would be appreciated! > > Regards Kjell.... >
<HTML> <HEAD> <TITLE> Your_title </TITLE> </HEAD> <BODY> Whatever you want to output... </BODY></HTML>
