Mailinglist Archive: opensuse (4348 mails)

< Previous Next >
Re: [SLE] Problem with apache + mod_perl
  • From: Adam Leach <suse@xxxxxxxxxxxx>
  • Date: Tue, 1 Oct 2002 17:17:46 +0000
  • Message-id: <200210011717.46398.suse@xxxxxxxxxxxx>
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.


< Previous Next >
References