Bug 169835 - RFE: making suexec-docroot more configurable
RFE: making suexec-docroot more configurable
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: httpd (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-10-04 05:48 EDT by Andreas Thienemann
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-04 07:51:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andreas Thienemann 2005-10-04 05:48:02 EDT
The suexec-docroot is currently hardcoded to /var/www during compilation, which
makes sense for "simple" webserver.
As soon as users are having virtualhosts in their homedirs, suexec cannot be
installed for these users, as /home/user/www.example.com is outside of the docroot.

Our current fix is to recompile the httpd packages with a changed docroot. It
works, but is a nuisance.

It might make a nice addition to RHEL to be able to make the suexec-docroot
configurable by either editing a /etc/sysconfig file or by adding a configure
tag to the main httpd.conf.
Comment 1 Joe Orton 2005-10-04 07:51:29 EDT
Thanks for contacting us.

It's really not safe to start having the suexec binary start reading files to
determine the configuration; it is a standalone binary for a good reason.  You
could place the user-managed vhost directories in /var/www/<vhost> instead, as
is normal practice.

Note You need to log in before you can comment on or make changes to this bug.