Custom HTTPD template

zuhal

New member
Joined
Apr 25, 2020
Messages
2
How can I add my own template to HTTPD configuration, how do these templates work?
I wonder How it decides which template is using and which order.
How is it possible to write an FCGI template to HTTPD configuration?

In addition, how could I verify the security of my site?

Thanks
 
default templates in /usr/local/directadmin/data/templates/
you can copy any to /usr/local/directadmin/data/templates/custom/ and add your modifications, then rewrite existent confs and all new will be with this modifications
 
Gotcha, In the Apache Handlers section, I created handler "fcgid-script .fcgi".
Now I wonder before I write a script, how to build up if statement contains handler that includes "fcgid-script .fcgi".
 
Back
Top