Gentoo Archives: gentoo-dev

From: Tom Payne <twp@g.o>
To: solar@g.o, gentoo-dev@g.o
Subject: [gentoo-dev] apache eclass
Date: Thu, 12 Jun 2003 09:20:38
[Apologies for breaking the thread]


Have a look at with regards to
automatically determining DocumentRoot.

Synopsis is that a simple grep breaks configurations that use virtual hosts.

Also consider what happens if a user uses a webserver other than apache
(there's rarely anything about a bunch of HTML, PHP, and CGI scripts that's
apache-specific). There really should be a virtual/httpd to cover this.

Reliably detecting the doc root on all possible installations is very hard

After discussion with others, my recommendation is that the document root
should always be /home/httpd/htdocs. You could allow this to be overridden
with DOCUMENT_ROOT= in /etc/make.conf if you're feeling generous.



gentoo-dev@g.o mailing list


Subject Author
Re: [gentoo-dev] apache eclass "Robin H.Johnson" <robbat2@g.o>