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
Message-Id: 20030612092003.GA4707@tompayne.org
[Apologies for breaking the thread]

Solar,

Have a look at http://bugs.gentoo.org/show_bug.cgi?id=20642 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
indeed.

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.

Regards,

Tom

--
gentoo-dev@g.o mailing list

Replies

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