LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   User in Virtual Host config replacement - will this work? (http://www.linuxquestions.org/questions/linux-server-73/user-in-virtual-host-config-replacement-will-this-work-581258/)

RavenLX 08-31-2007 12:03 PM

User in Virtual Host config replacement - will this work?
 
We used an older version of Apache that supported doing this:

<VirtualHost *>
User "#000"
Group "#0000"
# etc...
</VirtualHost>

(Note that I'm abbreviating things a bit here.)

Now we are going to use Apache 2.0. We can't use "User" in the <VirtualHost> so, can I do this:


Group mydomains
User mydomain1
User mydomain2

<VirtualHost *>
# etc...
</VirtualHost>

<VirtualHost *>
# etc...
</VirtualHost>

I would like to know how Apache2 handles this. Is it the same as what we did previous or does Apache disregard all other Users and only use 'mydomain2' (the last entry)? Or will it use both?


All times are GMT -5. The time now is 02:19 AM.