Date: Fri, 27 Apr 2001 12:50:48 -0400 (EDT) From: Jim Freeze <jim@freeze.org> To: Tim Ayers <tayers@bridge.com> Cc: <freebsd-questions@freebsd.org> Subject: Re: How to run multiple Apache processes? Message-ID: <Pine.BSF.4.32.0104271246440.48740-100000@www.stelesys.com> In-Reply-To: <ae527346.fsf@tim.bridge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27 Apr 2001, Tim Ayers wrote: > >>>>> "J" == Jim Freeze <jim@freeze.org> 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/<user> > DocumentRoot /usr/local/www/<user>/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://<theirdomain.com>/ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0104271246440.48740-100000>