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
1 [Apologies for breaking the thread]
2
3 Solar,
4
5 Have a look at http://bugs.gentoo.org/show_bug.cgi?id=20642 with regards to
6 automatically determining DocumentRoot.
7
8 Synopsis is that a simple grep breaks configurations that use virtual hosts.
9
10 Also consider what happens if a user uses a webserver other than apache
11 (there's rarely anything about a bunch of HTML, PHP, and CGI scripts that's
12 apache-specific). There really should be a virtual/httpd to cover this.
13
14 Reliably detecting the doc root on all possible installations is very hard
15 indeed.
16
17 After discussion with others, my recommendation is that the document root
18 should always be /home/httpd/htdocs. You could allow this to be overridden
19 with DOCUMENT_ROOT= in /etc/make.conf if you're feeling generous.
20
21 Regards,
22
23 Tom
24
25 --
26 gentoo-dev@g.o mailing list

Replies

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