From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 00:49:44 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 6666F16A468 for ; Mon, 10 Sep 2007 00:49:44 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 010C413C457 for ; Mon, 10 Sep 2007 00:49:43 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 09 Sep 2007 20:49:43 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id NTK30423; Sun, 9 Sep 2007 20:49:42 -0400 (EDT) Received: from 65-78-26-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.26.179]) by smtp01.lnh.mail.rcn.net with ESMTP; 09 Sep 2007 20:49:36 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18148.38048.334086.419648@jerusalem.litteratus.org> Date: Sun, 9 Sep 2007 20:49:36 -0400 To: questions@freebsd.org In-Reply-To: <46E482D7.8000305@mikestammer.com> References: <46E482D7.8000305@mikestammer.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: Subject: 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 00:49:44 -0000 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. Robert Huff