Red Hat Bugzilla – Bug 8294
Upgrading to apache fro rh6.1 breaks suexec setup
Last modified: 2008-05-01 11:37:53 EDT
I recently upgraded several boxes with apache rpms from redhat 6.1 errata.
After doing so, I noticed that suexec failed to work on virtual domains. I
quickly noticed that these were the first rpms from redhat to include
suexec in the rpm and as such had overwritten the binary I had compiled.
The big problem with the suexec included with the 1.3.9-8 rpm's is the fact
that docroot is set to "/home/httpd/html". Which means that if you have
virtual hosts that use suexec they have to be a subdirectory of the
aforementioned directory or you will get suexec errors. Either you shoudl
change the docroot directory for suexec to / or distribute the source code
with instruction on how to compile it (with the binary distro).
source is included, get the apache src rpm. Providing a suexec docroot of / is
too dangerous a default setting for us to do.