-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<snip>
> *_Configuration_*
> 
> CentOS 5.4
> Apache 2.2.3
> Perl 5
> 
> 
> root directory for web site   /var/www/html/locks (locks is the name of
> the web site home directory)
> path for CGI-BIN directory /var/www/cgi-bin
> path for perl                         /usr/bin/perl
> 
> permissions on the perl scripts are set to 755, and the CGI-BIN directory

Does the webserver uid have ownership of this folder and the files
within?  Under Debian the apache user is called www-data.  If the
folder/files are owned by another user, the permissions you listed will
prevent the perl scripts from executing.

It might be a good idea to make sure that there are no extended ACLs
getting in the way.

Have you had a look in /var/log/apache2/error.log?  Usually there are
more verbose error messages in there.
> 
> I have verified that at the beginning of the scripts is the following
> #!/usr/bin/perl
> 
Make sure that this accurately reflects where perl is installed.  At the
very least there needs to be a symlink in this location which points to
the correct location.

You also need to make sure that Apache knows to execute perl scripts. I
avoid perl like the plague but I have seen similar issues with PHP when
I did not enable and configure the PHP module.

Hth,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAks5h5IACgkQwRXgH3rKGfOGUgCgqFkyFSYpvn1utVw8tx7bYMBH
zSwAoIdHt+PT21Y8+YpIGwyKUMEL5O+I
=ggwT
-----END PGP SIGNATURE-----

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to