View previous topic :: View next topic |
Author |
Message |
Johnyp Guru
Joined: 23 Mar 2005 Posts: 301
|
Posted: Mon Apr 11, 2005 12:17 am Post subject: Apache2 and virtual hosts (vhosts.conf)- is this standard ? |
|
|
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 |
|
|
wmgoree Apprentice
Joined: 08 Aug 2003 Posts: 246 Location: Alexandria, VA
|
Posted: Mon Apr 11, 2005 1:52 am Post subject: Common but not "standard" |
|
|
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 |
|
|
|