Your apache is configured to run files with the extension of .cgi as CGI scripts. Add try running them with the extension .cgi, as .pl is used by mod_perl. Regards Adam Leach On Tuesday 01 October 2002 16:51, Stuart Urquhart wrote:
I am trying to get perl scripts working on the suse apache server....
I have all the perl packages for apache installed, etc However, when i try and execute a perl script(on the web server), either of these things happen : 1) It gives me an internal server error (when executing an index.pl, e.g http://myserver/foofolder) 2) It gives me the perl script code (when specifying a perl script e.g http://myserver/foofolder/foo.pl)
Php scripts work fine. I want to be able to use perl scripts in my webroot, and also my user folders...
Can anyone help me? My httpd.conf and suse_public_html.conf : http://www.kitsuneaye.co.uk/configs.tar.gz
Thanks for your help.