Hi,
We also have this problem where .cgi and .pl scripts only run in a /cgi-bin/subfolder and not in the root of the domains cgi-bin.
The permissions seem fine but when the file is copied from the cgi-bin root directly to the subdirectory it works perfectly.
Also tried to copy psa-suexec to /usr/sbin/suexec but no luck.
The domain error log shows this:
Premature end of script headers: filename.cgi
The suexec log shows this:
[2007-03-07 21:39:53]: uid: (10001/ftpuser) gid: (10001/10001) cmd: filename.cgi
[2007-03-07 21:39:53]: target uid/gid (10001/10001) mismatch with directory (10001/2523) or program (10001/10001)
I see some other users on this forum have the same problem.
We also have this problem where .cgi and .pl scripts only run in a /cgi-bin/subfolder and not in the root of the domains cgi-bin.
The permissions seem fine but when the file is copied from the cgi-bin root directly to the subdirectory it works perfectly.
Also tried to copy psa-suexec to /usr/sbin/suexec but no luck.
The domain error log shows this:
Premature end of script headers: filename.cgi
The suexec log shows this:
[2007-03-07 21:39:53]: uid: (10001/ftpuser) gid: (10001/10001) cmd: filename.cgi
[2007-03-07 21:39:53]: target uid/gid (10001/10001) mismatch with directory (10001/2523) or program (10001/10001)
I see some other users on this forum have the same problem.