Keep custom httpd.conf as it is

dreamline

Verified User
Joined
Dec 3, 2005
Messages
110
Hi,
In my httpd.conf I have a lot of subdomains for server aliases (about 100). If I add new domain then those subdomains are gone, because it seems that DA overwrites the complete config file.

The way I'm handling things now is to chattr +i the http.conf file. Problem is if I need to add another domain through DA then I need change the file with chattr -i, copy the httpd.conf and add the domain then put the subdomains back and again use chattr +i to protect it again. Everytime the httpd.conf files needs a change I have to go through this process.

I would love a feature on the httpd.conf file that keeps your manually added settings and keeps those subdomains in place when adding a new domain or when changing settings on another domain.

This has been bugging me for about 2 years now and I thought well lets request a feature that keeps all settings in place and just changes what you needed to be changed.

I'm sure other people have run into this problem too.

:)
 
Hello,

I have written:
|?IP=xxx.xxx.xxx.xxx|

but it doesn't work (every other things work like |?CERT=|, |?CAROOT=| etc)

maybe IP should be pointed differently?
 
Back
Top