[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Customizing httpd.conf entries for each virtual site



On Tue, 5 Dec 2000, Manik Surtani wrote:

> Hello,
> 
> How can I customize the entries that go into httpd.conf for each and every
> new virtual site?
> 
> E.g., I want to add the following lines, for each and every virtual host.
> (Now, I do it manually...)
> 
> DirectoryIndex index.php3 index.phtml
> AddType application/x-httpd-php .phtml .php3 .php4 .php
> 
> Is there a template I can edit for this?  It is a royal pain in the a**
> doing this manually every time ...

Put it in srm.conf or the beginning area of httpd.conf, it will get
inherited by all the virtual host blocks...