[CentOS] Apache

Michael A. Peters mpeters at mac.com
Fri Nov 6 22:15:28 UTC 2009

John R Pierce wrote:
> Victor Subervi wrote:
>> /etc/httpd/conf/httpd.conf
>> Yup. Thanks ;)
> don't edit that master file if at all possible.  instead, create a file 
> in /etc/httpd/conf.d/?????.conf for each website, and put your site 
> specific settings in there.

For site specific I agree, but I believe you have to edit that file to 
properly set up name based virtual hosting with multiple hosts, 
otherwise apache complains when starting. I think it is only a one or 
two line change. Then the configuration for hosts go in /etc/httpd/conf.d

More information about the CentOS mailing list