Really weird issue w/ suexec & apache
Ok here is the problem... I have a simple cgi script:
Code:
#!/usr/bin/perl print "Content-type: text/html\r\n\r\n"; print "test\n";
http://secure.gurueasy.com/cgi-bin/test.cgi
https://secure.gurueasy.com/cgi-bin/test.cgi
In the suexec log it outputs:
[2003-01-18 23:34:10]: info: (target/actual) uid: (gurueasy/gurueasy) gid: (gurueasy/gurueasy) cmd: test.cgi
[2003-01-18 23:34:10]: error: command not in docroot (/home/gurueasy/htdocs/cgi-bin/test.cgi)
[2003-01-18 23:34:10]: error: command not in docroot (/home/gurueasy/htdocs/cgi-bin/test.cgi)
[Sat Jan 18 23:34:10 2003] [error] [client 209.251.13.98] Premature end of script headers: /home/gurueasy/htdocs/cgi-bin/test.cgi