[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    [users@httpd]  Re: cgi scripts outside of cgi-bin
From:       "Christopher J. Bottaro" <cjbottaro () alumni ! cs ! utexas ! edu>
Date:       2005-12-13 21:45:27
Message-ID: dnnf45$3hf$1 () sea ! gmane ! org
[Download RAW message or body]

Joshua Slive wrote:

> On 12/13/05, Christopher J. Bottaro <cjbottaro@alumni.cs.utexas.edu>
> wrote:
>> The exact same script works if I put it in Apache's cgi-bin dir.  Any
>> ideas? I'm using Apache-2.0.54. Thanks for the help.
> 
> What exactly happens when you try this?  What is in the browser?  What
> is in the error_log?  Most importantly: what is in the suexec_log,
> since I'd guess the problem is with suexec.

Oh, forgot to mention that...:)  error_log says this:

[Tue Dec 13 15:03:19 2005] [error] [client 127.0.0.1] Premature end of
script headers: test.cgi, referer:
http://localhost/~sti/tragence/webapp/interfaces/customer/weblib/pb_upload/

suexec.log says this:

[2005-12-13 15:03:19]: uid: (501/sti) gid: (501/501) cmd: upload.cgi
[2005-12-13 15:03:19]: directory is writable by others:
(/home/sti/public_html/tragence/webapp/interfaces/weblib/pb_upload)

If I do apachectl -V, it says that it's looking for SUEXEC_BIN
in /usr/sbin/suexec.  The strange thing is that /usr/sbin/suexec doesn't
exist.  I'm using Fedora Core 4 and I can't figure out which package
installs suexec.

> Joshua.

Thanks for the help,
-- Christopher


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic