httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] Apache 2.2 SuExec problem
Date Mon, 28 Aug 2006 14:41:52 GMT
On Mon, 28 Aug 2006, Joshua Slive wrote:

> On 8/28/06, <> wrote:
> >
> > I checked the Apache docs on SuExec and found this:
> >
> > "--with-suexec-docroot=DIR
> >     Define as the DocumentRoot set for Apache. This will be the only
> > hierarchy (aside from UserDirs) that can be used for suEXEC behavior. The
> > default directory is the --datadir value with the suffix "/htdocs", e.g.
> > if you configure with "--datadir=/home/apache" the directory
> > "/home/apache/htdocs" is used as document root for the suEXEC wrapper."
> >
> > I'm not sure I understand this.  This is intended for the user of virtual
> > hosting customers, and their websites are under:
> >
> > /home/servers/ (their doc root)
> > /home/servers/ (their cgi-bin)
> >
> > If I understand the instructions correctly, Apache is going to append
> > "htdocs" onto whatever I use?
> No.  The docs are not all that clear here.  The suexec docroot is
> distinct from the apache httpd DocumentRoot.  It simply specifies a
> parent directory under which ALL the script that suexec exectures
> (with the expection of those mapped through mod_userdir) must live.
> So in your case, if all your sites are under /home/servers/... you
> should set the suexec docroot to /home/servers/.

Definitely not all that clear...I don't suppose there's a runtime way to
fix this...I dread possibly breaking all my module installs by


James Smallacombe		      PlantageNet, Inc. CEO and Janitor	

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message