Ed Heron
2009-Aug-21 19:41 UTC
[CentOS-docs] document proposal: TipsAndTricks/ApacheVHostDir
I use named virtual hosts on my web servers, as I'm sure many others do. I'm used to the method of using a vhost directory for the container files. I didn't find documentation for it in the CentOS docs or the Apache docs. I'm not sure if I should take it as a hint that it is depreciated... If I've missed something, please point me to it. I've written a quick little article detailing how to create a vhost directory under CentOS. It is at http://wiki.centos.org/EdHeron/ApacheVhostDir Please, consider this a request to create the page TipsAndTricks/ApacheVhostDir with access given to wiki user EdHeron. -------------------- Ed Heron
Manuel Wolfshant
2009-Aug-21 19:50 UTC
[CentOS-docs] document proposal: TipsAndTricks/ApacheVHostDir
On 08/21/2009 10:41 PM, Ed Heron wrote:> I use named virtual hosts on my web servers, as I'm sure many others do. > > I'm used to the method of using a vhost directory for the container files. > I didn't find documentation for it in the CentOS docs or the Apache docs. > I'm not sure if I should take it as a hint that it is depreciated... If > I've missed something, please point me to it. > > I've written a quick little article detailing how to create a vhost > directory under CentOS. > It is at http://wiki.centos.org/EdHeron/ApacheVhostDir > >I fail to see why is another directory needed, since the default config already includes every .conf file below /etc/httpd/conf.d/. Care to explain, please ?
Brian Mathis
2009-Aug-21 19:52 UTC
[CentOS-docs] document proposal: TipsAndTricks/ApacheVHostDir
On Fri, Aug 21, 2009 at 3:41 PM, Ed Heron<Ed at heron-ent.com> wrote:> ?I use named virtual hosts on my web servers, as I'm sure many others do. > > ?I'm used to the method of using a vhost directory for the container files. > I didn't find documentation for it in the CentOS docs or the Apache docs. > I'm not sure if I should take it as a hint that it is depreciated... ?If > I've missed something, please point me to it. > > ?I've written a quick little article detailing how to create a vhost > directory under CentOS. > ?It is at http://wiki.centos.org/EdHeron/ApacheVhostDir > > ?Please, consider this a request to create the page > TipsAndTricks/ApacheVhostDir with access given to wiki user EdHeron. > > -------------------- > Ed Heron >I always figured that the "CentOS way" to handle that was to put them into the conf.d folder. Is there an advantage to using this method? One thing I can think of is that the conf.d is included in the middle of the httpd.conf file, while this would be at the bottom.
Brian Mathis
2009-Aug-21 19:54 UTC
[CentOS-docs] document proposal: TipsAndTricks/ApacheVHostDir
On Fri, Aug 21, 2009 at 3:41 PM, Ed Heron<Ed at heron-ent.com> wrote:> ?I use named virtual hosts on my web servers, as I'm sure many others do. > > ?I'm used to the method of using a vhost directory for the container files. > I didn't find documentation for it in the CentOS docs or the Apache docs. > I'm not sure if I should take it as a hint that it is depreciated... ?If > I've missed something, please point me to it. > > ?I've written a quick little article detailing how to create a vhost > directory under CentOS. > ?It is at http://wiki.centos.org/EdHeron/ApacheVhostDir > > ?Please, consider this a request to create the page > TipsAndTricks/ApacheVhostDir with access given to wiki user EdHeron. > > -------------------- > Ed HeronPS. You could also "service reload" instead of restart for a more graceful reconfiguration.
Christoph Maser
2009-Aug-23 07:34 UTC
[CentOS-docs] document proposal: TipsAndTricks/ApacheVHostDir
Am Freitag, den 21.08.2009, 21:41 +0200 schrieb Ed Heron:> I use named virtual hosts on my web servers, as I'm sure many others do. > > I'm used to the method of using a vhost directory for the container files. > I didn't find documentation for it in the CentOS docs or the Apache docs. > I'm not sure if I should take it as a hint that it is depreciated... If > I've missed something, please point me to it. > > I've written a quick little article detailing how to create a vhost > directory under CentOS. > It is at http://wiki.centos.org/EdHeron/ApacheVhostDir > > Please, consider this a request to create the page > TipsAndTricks/ApacheVhostDir with access given to wiki user EdHeron. > > -------------------- > Ed Heron >I prefer one file per vhost instead of one directory per vhost. But what i really expect from a TipsAndTricks/ApacheVhost is to explain how to make sure which vhost will be the default vhost when using includes. Chris financial.com AG Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich ? HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553