Not sure what I have done - but suddenly all my perl scripts need me to add -U or -w on the shebang line to run (or I get a500 internal server error) - anyone have a clue (I had auto update on - have since changed to manual - but I doubt any std update would have done it ?)
suexec log shows:
info: (target/actual) uid: (userid/userid) gid: (userid/userid) cmd: perldiver.cgi
[2005-07-27 16:01:47]: error: target uid/gid (32005/505) mismatch with directory (32005/505) or program (99/99) or trusted user (0/10)
My script is chmod 0755, userid and group are userid/userid (real ones) and both the group and userid are defined in /etc/group and /etc/passwd respectively. and cgi is in /home/userid/public_html/cgi-bin
I may experiment with turning suexec off in apache - if I can figure out how to do that
(this is a test server so no impact at moment)
Jim
suexec log shows:
info: (target/actual) uid: (userid/userid) gid: (userid/userid) cmd: perldiver.cgi
[2005-07-27 16:01:47]: error: target uid/gid (32005/505) mismatch with directory (32005/505) or program (99/99) or trusted user (0/10)
My script is chmod 0755, userid and group are userid/userid (real ones) and both the group and userid are defined in /etc/group and /etc/passwd respectively. and cgi is in /home/userid/public_html/cgi-bin
I may experiment with turning suexec off in apache - if I can figure out how to do that
Jim
Last edited: