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....

Reply via email to