Bug 169835 - RFE: making suexec-docroot more configurable
Summary: RFE: making suexec-docroot more configurable
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: httpd   
(Show other bugs)
Version: 4.0
Hardware: All Linux
Target Milestone: ---
: ---
Assignee: Joe Orton
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2005-10-04 09:48 UTC by Andreas Thienemann
Modified: 2007-11-30 22:07 UTC (History)
0 users

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

Attachments (Terms of Use)

Description Andreas Thienemann 2005-10-04 09:48:02 UTC
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 11:51:29 UTC
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.