hello i have apache2 and perl installed on suse 9.1 i have through yast enabled perl support but when i try to run some perl scripts i get the sources files instead of the script being executed.. the files do have execution rights (the cgi version) any ideas where i am fooling and missing something? regards Matice
On Sunday 23 January 2005 5:56 am, matice@nic.fi wrote:
hello
i have apache2 and perl installed on suse 9.1
i have through yast enabled perl support but when i try to run some perl scripts i get the sources files instead of the script being executed.. the files do have execution rights (the cgi version) any ideas where i am fooling and missing something?
Make sure that the directory you are running the script from is in your scriptalias in /etc/apache2/default-server.conf In the default setup, that is set to /srv/www/cgi-bin, which is where your scripts should reside. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.10-default x86_64
On Sun, Jan 23, 2005 at 03:56:15PM +0200, matice@nic.fi wrote:
hello
i have apache2 and perl installed on suse 9.1
i have through yast enabled perl support but when i try to run some perl scripts i get the sources files instead of the script being executed.. the files do have execution rights (the cgi version) any ideas where i am fooling and missing something?
Note that you do not need mod_perl to run perl scripts via CGI. mod_perl allows you to run perl scripts in an embedded interpreter -- should you need the additional performance, and take the needed steps to configure it to run the scripts in addition. Peter
participants (3)
-
matice@nic.fi
-
poeml@cmdline.net
-
Scott Leighton