httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9038] - suexec is NOT being called by Apache 2.0.36
Date Fri, 17 May 2002 15:41:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9038>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9038

suexec is NOT being called by Apache 2.0.36





------- Additional Comments From abatko@cs.mcgill.ca  2002-05-17 15:41 -------
Hello.  The problem has been somewhat resolved.  TERAMOTO Masahiro from
the FreeBSD bugs list pointed out that the suexec wrapper is installed as
/usr/local/sbin/suexec, meanwhile, mod_suexec.c assumes this wrapper is
installed as /usr/local/bin/suexec.  Now, I already knew that as a result
of some debugging prior to sending the original report, and this is why
I used the undocumented configuration option --with-suexec-bin.

But unfortunately, I had set it to /usr/local/sbin, as opposed to the
full path /usr/local/sbin/suexec.  I have now installed apache again,
using --with-suexec-bin=/usr/local/sbin/suexec and suexec is called
upon the request of a cgi script in a userdir.

However now suexec complains
"command not in docroot (/usr/tmp/home/devil/public_html/cgi-bin/test.cgi)".
I will try to figure this out on my own, and if I can't then I'll get back to
you.. so please don't close this bug just yet.

Also, as a side note, it would be worthwhile to document --with-suexec-bin
at http://httpd.apache.org/docs-2.0/suexec.html and stress that it requires
the full path to the binary, not just to the directory where it sits.

Finaly, a note about the fact that FreeBSD's port of apache installs suexec
in an unexpected location may be worth documenting as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message