[CentOS-docs] doc?: TipsAndTricks/ApacheVHostDir

Thu Sep 3 19:13:27 UTC 2009
Ed Heron <Ed at Heron-ent.com>

From: "Manuel Wolfshant", Thursday, September 03, 2009 12:39 PM

> On 09/03/2009 07:02 PM, Ed Heron wrote:
>>   Are there any other opinions?  Questions?
>>
>>   Is my suggestion to add ./vhost.d/ to the Apache configuration as a 
>> user
>> installable option not acceptable?
>    From a technical point of view, your suggestion seems 100% correct,
> including the selinux context needed for the new directory [*]. However
> I still think that it simply duplicates the existing functionality of
> the conf.d folder (which, in my opinion, exists with the very purpose of
> adding new configuration files -- including the definition of virtual
> hosts) and therefore it is useless.

  I added some information to describe my position.  I have no problem if 
you want to add a section describing your point of view.  If nothing else, 
we are providing information to users.

>    On the other hand, I do like your proposal from
> http://wiki.centos.org/EdHeron/ApacheVhostDefault (minus the first
> subparagraph of paragraph #5, of course).

  Thanks!

> [1] I am not sure what will happen after a full relabeling of the
> system, since the new directory does not exist in the selinux database
> (I mean  /etc/selinux/targeted/contexts/files/file_contexts, part of
> selinux-policy)

  I added a disclaimer.  Does it cover it?