[peruser] peruser and mass virtual hosting

Leen Besselink leen at consolejunkie.net
Fri Dec 21 15:25:48 MST 2007


On Fri, Dec 21, 2007 at 03:15:11PM -0700, Sean Gabriel Heacock wrote:
> Alex Guerra wrote:
> > I would like to know if anyone has a suggestion on how to do
> > mass virtual hosting with peruser using one user per vhost. The standard solutions (
> > mod_vhost_alias, etc.) handle the http request too late to specify a specific 
> > SO user. Maybe it must be integrated into peruser itself?
> >   
> I'm not sure how to go about making peruser function with a pure 
> mod_vhost_alias setup, it would take some major changes to peruser, if 
> it's even possible.  I use mod_vhost_alias in conjuction with regular 
> <VirtualHost> sections, basically for dynamic subdomains.  But I still 
> have to have apache do a graceful restart when a domain is added.
> 

I could be wrong, but I presume you want all the different vhosts to run under a
different uid ? How would Apache know the uid's ?

I can think of only one way, maybe through some mapping file or maybe the right on
the vhost-directory ?

Or maybe I completely misunderstood :-)


More information about the Peruser mailing list