PDA

View Full Version : How to tell custombuild default values for httpd configuration?



twv
06-11-2008, 10:09 AM
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
06-11-2008, 10:16 AM
It won't overwrite your changes unless you run "./build rewrite_confs".

twv
06-11-2008, 10:53 AM
Any way to tell it configuration info that shouldn't get overwritten even when I do ./build rewrite_confs?

smtalk
06-11-2008, 11:13 AM
Not yet :) For now you can do your changes /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-ssl.conf file and do:


chattr +i /usr/local/directadmin/custombuild/configure/ap2/conf/extra


Then it won't overwrite it.