From owner-freebsd-questions Sat Jan 8 18:30:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id F290415230 for ; Sat, 8 Jan 2000 18:30:08 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id DAA76916; Sun, 9 Jan 2000 03:30:07 +0100 (CET) (envelope-from olli) Date: Sun, 9 Jan 2000 03:30:07 +0100 (CET) Message-Id: <200001090230.DAA76916@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: apache 1.3.6 or apache 1.3.6 + PHP X-Newsgroups: list.freebsd-questions In-Reply-To: <858r5i$182m$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Kok wrote in list.freebsd-questions: > I removed apache 1.3.6 and installed apache + PHP > but their configuration is different! > > apache 1.3.6 > DocumentRoot "/usr/local/www/data" > > apache 1.3.6. + PHP > DocumentRoot "/usr/local/share/apache/htdocs" By the way: The current version (in the ports) is 1.3.9, and it uses /usr/local/share/apache/htdocs in either case. > I now is apache 1.3.6 + PHP. > Could I change the DocumentRoot and it works perfertly? Yes. Just change it in the httpd.conf (it was renamed to apache.conf in 1.3.9, I don't know if it was still httpd.conf in 1.3.6). Type ``apachectl restart'' after the modification. Regards Oliver PS: This is really an Apache question and belongs in some Apache mailing list or newsgroup... -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message