I'm becoming exasperated :)

I have successfully installed the above combination on a RH 5.2 machine,
so I'm baffled as to why it doesn't work on another machine.

Both machines use virtual hosts, due to the nature of mod_ssl (and the
fact that there are multiple domains on both).

The one thing that tells me there's something wrong with the "problem"
machine: no suexec_log is generated.  When I try to compile all of it
together, via :

(ssl already made, etc.)

cd /tmp/mod_ssl-2.0.15-1.3.3/
SSL_BASE=/tmp/SSLeay-0.9.0b
./configure  --with-apache=../apache_1.3.3  && cd ../apache_1.3.3
./configure --prefix=/usr/local/apache \
--enable-module=ssl --enable-module=most --enable-suexec
--suexec-caller=httpd \
--suexec-userdir=www --suexec-uidmin=500 --suexec-gidmin=100 
make && make install

it goes fine.

If I try to include
--suexec-logfile=/usr/local/apache/var/log/suexec.log it throws an
error, which I don't understand, since this is documented at
http://www.apache.org/docs/suexec.html#install

But from what I've understood, it should work, and default to placing a
log file under my log subdir . . . examined the Makefile, and that's
what it showed, too.

Permissions all the way into the /usr/local/apache/var/log/ subdir are
at least 700 . . . owner and group of root.

Trying to run server as user httpd, group nobody (or httpd) both users
and groups exist.

I've been unable to find any usenet posts, web pages, etc. detailing a
problem of not having the log available at all.  I have confirmed that
suexec is starting w/ apache, via my general error log.

Also, if I shut apache down, rename sbin/suexec to something else,
restart apache then the .cgi's in user subdirs will work again (
~frankie/test.cgi etc.) but a dump shows that the uid/gid are what is
defined in my unified httpd.conf . . .

Any pointers appreciated.  I think if I could see any log errors
("Premature end of script headers: /home/frank/www/test.cgi" doesn't
tell me enough, so I don't count this) I could probably figure it out.

     Best, John.
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to