Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 and virtual hosts (vhosts.conf)- is this standard ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Johnyp
Guru
Guru


Joined: 23 Mar 2005
Posts: 301

PostPosted: Mon Apr 11, 2005 12:17 am    Post subject: Apache2 and virtual hosts (vhosts.conf)- is this standard ? Reply with quote

Hey all

just looked at the new apache2 virtual host setup (Gentoo emerged 2.0.52-r1). Appears it's using a vhost.conf file for the setup of virtual hosts, versus <"VirtualHost"> blocks in apache2.conf (the way i have done it before).

Is this standard for apache2 now or is it something that Gentoo devs/contributors did? I've just checked apache.org and it appears those guys are still using blocks in the main config file.

I wonder if i can take a block from my old apache.conf and copy/paste it into the vhosts.conf file ?
_________________
Gentoo Unanswered Questions- Give it a try!
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Mon Apr 11, 2005 1:52 am    Post subject: Common but not "standard" Reply with quote

The "Gentoo way" for the apache2.conf file is to include various config files like vhosts.conf or ssl_vhosts.conf based on what you're doing with your server; each of the sub-files works more or less out of the box and you just have to uncomment the include directive in the apache2.conf file. You don't have to do it like that (as you point out, apache themselves don't), but a lot of people find it more aesthetically pleasing.
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum