I am trying to run a CGI file on a website. (on RaQ 550)
> I wrote these lines:
> ------------------------------------------------------------------
> #!/usr/bin/perl --
> $inputline = "Welcome to the world of Perl CGI";
> print ( $inputline );
> print ("\n");
> ------------------------------------------------------------------
>
> I have enabled CGI for this website. but it is continuously giving me
> "Internal Server Error":
> ------------------------------------------------------------------
> The server encountered an internal error or misconfiguration and was
unable
> to complete your request. Your administrator may not have enabled CGI
> access for this directory.
> ------------------------------------------------------------------
>
> My question is how I can enable CGI for any directory?
>You need to add the Content Type line to the script: print "Content-type: text/html\n\n"; Ken Marcus Precision Web Hosting [EMAIL PROTECTED] www.precisionweb.net _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
