Could it be needing a perl module or something similar in httpd.conf . Or
even allow CGIs to run in the directory you placed the file eg. Options
ExecCGI
-----Original Message-----
From: Marshall, Joshua [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 27, 2000 12:36 PM
To: slug
Subject: [SLUG] Execute a file
Hi,
I've got a perl file which I am using for my web-site, which is giving
Permission denied: exec of index.pl failed
messages in the Apache error log.
If I try to execute the file from bash, it gives a permission denied
error (even as root).
The flags on the file are rwxrwxrwx
The top line of the file is:
#!/usr/bin/perl -P
I found that if I type:
/usr/bin/perl -P index.pl
It works perfectly.
Does anyone have any suggestions as to what I'm doing wrong? It works
fine on another system I have, simply copied the file across.
Regards,
Josh Marshall.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug