[peruser] peruser and mass virtual hosting

Alex Guerra alex9627 at hotmail.com
Tue Dec 25 15:47:39 MST 2007


>>> 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 
>>  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 ?

Yes.

>How would Apache know the uid's ?

I' don't know, any suggestion?

> 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 :-)

You got it right, but peruser should read this mapping if it can't find the vost...
_________________________________________________________________
Veja mapas e encontre as melhores rotas para fugir do trânsito com o Live Search Maps!
http://www.livemaps.com.br/index.aspx?tr=true


More information about the Peruser mailing list