From owner-freebsd-questions Fri Apr 27 9:50:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freeze.org (www.stelesys.com [208.177.187.226]) by hub.freebsd.org (Postfix) with ESMTP id BEC1E37B422 for ; Fri, 27 Apr 2001 09:50:55 -0700 (PDT) (envelope-from jim@freeze.org) Received: (from jim@localhost) by freeze.org (8.11.3/8.11.2) id f3RGomB59748; Fri, 27 Apr 2001 12:50:48 -0400 (EDT) (envelope-from jim) X-Authentication-Warning: www.stelesys.com: Processed from queue /var/spool/alt_queue X-Authentication-Warning: www.stelesys.com: Processed by jim with -C /web/siteinfo/freeze/mail/sendmail.cf Date: Fri, 27 Apr 2001 12:50:48 -0400 (EDT) From: Jim Freeze X-X-Sender: To: Tim Ayers Cc: Subject: Re: How to run multiple Apache processes? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27 Apr 2001, Tim Ayers wrote: > >>>>> "J" == Jim Freeze writes: > J> Is there a way to have multiple processes of apache > J> running, one for each user, or an alternate way > J> to acheive the same thing as I described above. > > 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. > Do you have a /usr/local/etc/rc.d/apache.sh for each user? > So all the config files could pretty much be the same except for > > Port 80xx # give each user a unique port > ServerRoot /usr/local/www/ > DocumentRoot /usr/local/www//htdocs > > Then to access their website they need to go to > http://www.freeze.org:80xx/ I understand this is good for developers, but what about users who want to have access to their site via http:/// without having to specifiy the port? Is there a way around this? > Each user will also need a version of 'apachectl' or similar so they > can control their own server. > Thanks ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org ========================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message