[NBLUG/talk] Apache and virtual hosts..

Barry Stump barry.stump at gmail.com
Wed Jan 13 11:39:39 PST 2010

I am not an Apache expert, but I'm not sure what you want to do is
easily done within a single instance of Apache.  Basically, the parent
process (usually started as root) spawns children running as the user
configured in the normal apache conf to handle requests.  You would
need to figure out how to bind particular children to particular vhost
requests, and further, get each child running as a different user.

Or perhaps someone has already done what you need in a clever module,
you never know.


On Wed, Jan 13, 2010 at 11:25 AM, Steve Johnson <srj at adnd.com> wrote:
> I had this idea, I want to run a virtual domain under my apache
> config, which is easy and working, but I a twist I want to do..
> Instead of all virtual domains running as user apache, is there a
> config option so that each virtual domain runs apache as a different
> user?  I would like to segregate each virtual domain so that some wise
> scripter can't write a script that reads another users files for their
> virtual domain.
> Any ideas?  I have read up on running multiple instances of apache,
> but this seems like a bad way to do it if you have more than a couple
> virtual domains.  Oh and each domain has its own IP address.. so that
> should not be an issue.
> Thanks.
> -Steve
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk

More information about the talk mailing list