midan
New member
Hello,
Could any body shed light on how I can call a simple script that will execute after DA has re-written a user's httpd.conf file, BUT, before DA restarts httpd?
I would like to achieve the following:
whenever certain accounts make changes to their apache settings (/usr/local/directadmin/data/users/<user>/httpd.conf, I want to replace (using sed) "private_html" by "public_html".
This is because I need to support Frontpage Extensions for a few accounts and FPSE doesn't work with 2 different directories (one for http and the other for https).
Thank you,
Could any body shed light on how I can call a simple script that will execute after DA has re-written a user's httpd.conf file, BUT, before DA restarts httpd?
I would like to achieve the following:
whenever certain accounts make changes to their apache settings (/usr/local/directadmin/data/users/<user>/httpd.conf, I want to replace (using sed) "private_html" by "public_html".
This is because I need to support Frontpage Extensions for a few accounts and FPSE doesn't work with 2 different directories (one for http and the other for https).
Thank you,