Option to not change authentication details during rewrite_confs

edvanleeuwen

Verified User
Joined
Nov 18, 2013
Messages
155
I am using the server-status page with authentication details for Datadog. Every time I build rewrite_confs these details are changed in the httpd_info.conf and I have to change them in the yaml file.

Is there a way to keep them unless specified?
 
Last edited:
You would need to update your custom template to reflect the changes you want.
 
For future reference (and others with the same question), this is how you do this:

Create a directory here:
Code:
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/conf
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/extra
cp /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-info.conf /usr/local/directadmin/custombuild/custom/ap2/extra/
then edit the httpd-info.conf in the custom directory to your needs. Run the rewrite_confs and see that now it does not change anymore. ;)
 
Back
Top