[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] CGI/Perl Problem



Hello,
Try to add
print "Content-type: text/html \n\n";
after #!/usr/bin/perl

Bye,
Eduard Coman.

Muhammad Farhan wrote:

Hi,
        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?


Regards,
Farhan

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

This mail was scanned by RAV AntiVirus
on behalf of GeCAD Software.