Skip site navigation (1)Skip section navigation (2)
Date:      27 Apr 2001 10:51:21 -0500
From:      Tim Ayers <tayers@bridge.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to run multiple Apache processes?
Message-ID:  <ae527346.fsf@tim.bridge.com>
In-Reply-To: Jim Freeze's message of "Fri, 27 Apr 2001 09:05:02 -0400 (EDT)"
References:  <Pine.BSF.4.32.0104270904190.48740-100000@www.stelesys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "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.

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/

Each user will also need a version of 'apachectl' or similar so they
can control their own server.

HTH 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ae527346.fsf>