Re: Apache suEXEC problem
On Saturday 19 May 2001 22:01, Hector Castillo wrote:
> We have recently installed Debian into one of our machines. The purpose
> was to serve part of our client pages to the Net using apache-ssl
> server, but we have discovered now one problem.
> apache-ssl has been configured in Debian with suEXEC, but it supposes
> that pages are in "/var/www", and we have them into "/home/webftp". So
> now no script can be executed because the Apache wrapper (suexec) locks
> its execution.
> It's impossible to move the pages to the original directory (there are
> a lot users and a lot pages), and the suEXEC is necessary.
> My question is: ¿does anybody know how to recompile the Debian source
> of apache-ssl and which files would be necessary to change?
You should be able to just edit build-tree/apache_1.3.19/src/support/suexec.h
and hard-code in the values you like.
The real solution (which I have already suggested to the Apache maintainer)
is to have the apache build process generate an suexec-src package. The
suexec-src package would have a script to ask you a series of questions and
generate a Debian package for the compiled suexec program.
I've been meaning to submit an appropriate patch to the maintainer.
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
Reply to: