new DirectAdmin versions not allow lock of /etc/httpd/conf/extra/httpd-info.conf

nservices

Verified User
Joined
Dec 11, 2008
Messages
302
Hi,
in general, /etc/httpd/conf/extra/httpd-info.conf
file is custom on our server, but build rewrite_confs is overwrite it
this is why we putting chattr flag on it to keep it on custom version
it's was working all time with no issues, in last build rewrite_confs not "continue" the action if he can't rewrite hte /etc/httpd/conf/extra/httpd-info.conf

please fix it to work and allow continue the action of build rewrite_confs even if /etc/httpd/conf/extra/httpd-info.conf is lock by chattr

Best Regards,
 
please fix it to work and allow continue the action of build rewrite_confs even if /etc/httpd/conf/extra/httpd-info.conf is lock by chattr
You don't need to chattr the httpd-info file.

Better is to use the proper way for this. For most custom files there is a custom directory.
So put your customized httpd-info conf in this directory:
/usr/local/directadmin/custombuild/custom/ap2/conf/extra
it might be the custom directory or the others do not exist yet, if not, just create them.

When you put your customized httpd-info.conf in there and then run the "rewrite_confs" command, you will see that it is picked up by DA and it will work without any chattr required.
 
Thanks Richard!
I know and work also with that, but "old" servers have the chattr httpd-info.conf should not "get down" since rewrite_confs didn't complete his work
Especially since it worked all these years.

Kind Regards,
 
Back
Top