LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-31-2007, 12:03 PM   #1
RavenLX
Member
 
Registered: Oct 2004
Posts: 88

Rep: Reputation: 15
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?
 
  


Reply

Tags
apache, apache2, host, hosts, user, virtual


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.0 virtual host config file mnm_mc Linux - Software 7 03-25-2006 10:57 PM
Apache named virtual host config darthtux Linux - Software 8 04-19-2005 02:38 AM
Apache: Virtual Host Config question rajanr Linux - Software 5 08-30-2003 12:41 PM
Virtual host config won't work klintonray Linux - Networking 18 08-19-2003 02:53 PM
Major Virtual Host Config Issues klintonray Linux - Software 2 08-07-2003 07:20 PM


All times are GMT -5. The time now is 09:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration