From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 02:03:07 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C1DE16A417 for ; Mon, 10 Sep 2007 02:03:07 +0000 (UTC) (envelope-from eric@mikestammer.com) Received: from smtp114.sbc.mail.re2.yahoo.com (smtp114.sbc.mail.re2.yahoo.com [68.142.229.91]) by mx1.freebsd.org (Postfix) with SMTP id 9394813C468 for ; Mon, 10 Sep 2007 02:03:04 +0000 (UTC) (envelope-from eric@mikestammer.com) Received: (qmail 94068 invoked from network); 10 Sep 2007 01:36:23 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@70.131.96.103 with login) by smtp114.sbc.mail.re2.yahoo.com with SMTP; 10 Sep 2007 01:36:23 -0000 X-YMail-OSG: WHD4zHIVM1lZmoJAV8g4JIMdcqXXlBVHnTEUno5PFyNhuuRFrqiM3cr9Fg5XLfd7b9uFV46rGskc4vCyFCZ_6PEgiw40y0DUpXhC2yBFvqh2CbIxSJzfnwhYErhudhk_GfS4wBjtFJ0Vces- Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 9E865B913; Sun, 9 Sep 2007 20:36:33 -0500 (CDT) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qmKzDsSgJpT5; Sun, 9 Sep 2007 20:36:32 -0500 (CDT) Received: from [192.168.0.201] (unknown [192.168.0.201]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTPSA id 5E22FB90E; Sun, 9 Sep 2007 20:36:32 -0500 (CDT) Message-ID: <46E4A0E0.1010709@mikestammer.com> Date: Sun, 09 Sep 2007 20:41:52 -0500 From: Eric User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Robert Huff References: <46E482D7.8000305@mikestammer.com> <18148.38048.334086.419648@jerusalem.litteratus.org> In-Reply-To: <18148.38048.334086.419648@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, rafan@FreeBSD.org Subject: Re: apache22 web root directive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2007 02:03:07 -0000 Robert Huff wrote: > Eric writes: > >> Is there a directive to add to make.conf or anywhere else to tell >> ports what directory my webroot is? when i was running apache20, >> things like mailgraph installed files in the proper >> location. Recently I just updated to apache22 and now mailmail >> still insists on creating directories under the old directory >> layout. is this a mailgraph port problem or do I have a missing >> directive somewhere telling ports where my document root is? > > Let me see if I understand: > You're running apache22, with DocumentRoot and/or ServerRoot in > a non-standard location. Because of this, a third-party application > is malfunctioning. > You are looking for a single way for that and other > applications to tell at run-time where the new location is. > No such critter, as far as I know. For those applications that > accept environment variables of command-lind switches, it should be > trivial to write a wrapper script to parse httpd,conf and provide > the correct information. > For a compile-time switch, portupgrade users can use > pkgtools.cfg; others will have to look elsewhere. > > close, but I am not running in a non standard DocumentRoot as far as I know. its set to apache22's /usr/local/www/apache22/data, which is the default, but if you look at the mailgraph Makefile, it uses /usr/local/www/data for the install. the more i look at it, the more it seems like its a mailgraph issue. i guess I am curious of the apache20 default of /usr/local/www/data was around so long its just what everyone assumes, but from what I can tell, thats not the recommended practice. isnt it better to install to /usr/local/www/mailgraph and then alias things? I included the maintainer to see if this is the case and perhaps the Makefile should be changed and or post install instructions can be updated Eric