Well, following what I thought was a successful migration, it turns out nothing in any of our hosted site's cgi-bin is working. trying to access any of them gives a 403 error and the following in the site's error_log:
(13)Permission denied: /home/httpd/vhosts/domain.tld/cgi-bin/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
(don't let the reference to .htaccess fool you -- this is a generic error. There is no .htaccess - the script I'm testing with is just a hello world script)
There's nothing in suexec.log
Just for once, the great god Google does not help me, nor does any KB.
drwxr-x--- 2 ftpuser psacln 4096 Apr 16 22:33 cgi-bin
# ls -al
drwxr-x--- 2 ftpuser psacln 4096 Apr 16 22:33 .
drwxr-xr-x 21 root root 4096 Apr 13 22:51 ..
-rwxr-xr-x 1 ftpuser psacln 90 Apr 16 22:10 hw.cgi
-rwxr-xr-x 1 ftpuser psacln 90 Apr 16 22:33 hw.pl
If I chmod cgi-bin to 755 it works fine. However, this is not how it is supposed to be.
So this is some sort of permissions thing.
I do note suexec doesn't seem to be different to the default one:
]# ls -al /usr/sbin/suexec*
-r-s--x--- 1 root apache 27280 Nov 2 12:52 /usr/sbin/suexec
-r-s--x--- 1 root apache 27280 Nov 2 12:52 /usr/sbin/suexec.saved_by_psa
There's another one in /usr/local/psa/suexec that's a different size:
# ls -al /usr/local/psa/suexec/psa-suexec
-r-s--x--- 1 root apache 24648 Nov 2 12:52 /usr/local/psa/suexec/psa-suexec
In the old days, I seem to remember there were problems with the plesk-centric suexec being overwritten when suexec got updated by yum, and you were supposed to copy it back from somewhere.
I'm wondering if the psa-suexec should be copied over to /usr/sbin/suexec?
Can someone check the sizes of theirs for me please? I'm on EL6 x86_64 with Plesk 10.4.4 MU26
And any other suggestions would be appreciated!!!!!