How to tell custombuild default values for httpd configuration?

twv

Verified User
Joined
Oct 31, 2003
Messages
177
In /etc/httpd/conf/extra/httpd-ssl.conf, ServerName should be secure.mydomain.com, not www.example.com. How do I tell custombuild this so that it doesn't overwrite my changes?

Same question for ServerAdmin, SSLCertificateFile, and SSLCertificateKeyFile.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,788
Location
LT, EU
It won't overwrite your changes unless you run "./build rewrite_confs".
 

twv

Verified User
Joined
Oct 31, 2003
Messages
177
Any way to tell it configuration info that shouldn't get overwritten even when I do ./build rewrite_confs?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,788
Location
LT, EU
Not yet :) For now you can do your changes /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-ssl.conf file and do:
Code:
chattr +i /usr/local/directadmin/custombuild/configure/ap2/conf/extra
Then it won't overwrite it.
 
Top