From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31692 invoked by uid 1002); 12 Jun 2003 09:20:38 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31699 invoked from network); 12 Jun 2003 09:20:38 -0000 Date: Thu, 12 Jun 2003 10:20:03 +0100 From: Tom Payne To: solar@gentoo.org, gentoo-dev@gentoo.org Message-ID: <20030612092003.GA4707@tompayne.org> Mail-Followup-To: solar@gentoo.org, gentoo-dev@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: [gentoo-dev] apache eclass X-Archives-Salt: 6a4a32e1-bdb7-4e92-bda1-3719ccae3a5d X-Archives-Hash: 22fc14c9b4e6428429c2a5bc102df4de [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@gentoo.org mailing list