Gossamer Forum
Quote Reply
What the hell is up with suEXEC?

I have a script running under it and the first line reads:

#!/usr/bin/perl -w

....the script works fine and in the suEXEC log I see:

[2002-01-29 22:24:33]: info: (target/actual) uid: (user/user) gid: (group/group) cmd: script.cgi

....so I remove -w and it gives me an internal server error and the logs says exactly the same.

Anyone know why this happens?
Post deleted by AndyNewby In reply to
Quote Reply
Re: [RedRum] suEXEC In reply to
By any chance is the perl script uploaded from windows (hence using \r\n instead of just \n)?

Quote Reply
Re: [brewt] suEXEC In reply to
It was. But it was originally and it worked, but editing it to remove -w and reuploading made it spew.

Last edited by:

RedRum: Jan 30, 2002, 1:51 AM