From owner-freebsd-questions Fri Apr 27 11:40:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bcfw1d.bridge.com (bcfw1d.ext.bridge.com [167.76.159.31]) by hub.freebsd.org (Postfix) with ESMTP id 2C28537B43E for ; Fri, 27 Apr 2001 11:40:42 -0700 (PDT) (envelope-from tayers@bridge.com) Received: (from uucp@localhost) by bcfw1d.bridge.com (8.10.2/8.10.2) id f3RIfjE26380; Fri, 27 Apr 2001 13:41:46 -0500 (CDT) Received: from (unknown [167.76.56.34]) by bcfw1d via smap (V2.1) id xma026281; Fri, 27 Apr 01 13:41:24 -0500 Received: from mnmailhost (mnmailhost.bridge.com [167.76.155.14]) by mail1srv.bridge.com (8.8.8/8.7.3) with SMTP id NAA04003; Fri, 27 Apr 2001 13:40:15 -0500 (CDT) Received: from 89-7 by mnmailhost (SMI-8.6/SMI-4.1) id OAA28009; Fri, 27 Apr 2001 14:40:07 -0400 To: Subject: Re: How to run multiple Apache processes? References: From: Tim Ayers Date: 27 Apr 2001 13:40:05 -0500 In-Reply-To: Jim Freeze's message of "Fri, 27 Apr 2001 12:50:48 -0400 (EDT)" Message-ID: Lines: 33 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "J" == Jim Freeze writes: >> We do this all the time so that different developers don't clobber >> each other. You need to have each Apache set-up running on (listening >> to) a different port. You should probably also give everyone their own >> ServerRoot and DocumentRoot to prevent collisions. >> J> Do you have a /usr/local/etc/rc.d/apache.sh for each user? Essentially. We really have one script that acts like apache.sh but knows about all the different variations. >> Then to access their website they need to go to >> http://www.freeze.org:80xx/ J> I understand this is good for developers, but J> what about users who want to have access to J> their site via http:/// without J> having to specifiy the port? Is there a way J> around this? It sounds more and more like you really want to just use VirtualHosts as Mike Meyer's been suggesting. DirectoryIndex and AddType can definitely be used from .htaccess files. Almost anything that goes in the config file can be controlled from .htaccess. I've never used PHP (I use mod_perl and Mason), but since PHP is an Apache Foundation project I would be surprised if its directives didn't work from .htaccess also. At worst I bet they work from the VirtualHosts sections. It doesn't seem like you'd need to be changing the include directory very often. Good luck and Hope you have a very nice day, :-) Tim Ayers (tayers@bridge.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message