here are the two HowTos i found from internet
http://admin0.info/articles/hardening/step-03.html
http://www.webhostgear.com/62.html
both are on cpanel, but i am not sure how to install and configure it with directadmin.
my first question: where is httpd.conf in DA?
on both article, is says it's in "/usr/local/apache/conf/httpd.conf "
but i don't have /usr/local/apache directory. i found mine in DA is "/etc/httpd/conf/httpd.conf", so is httpd.conf in this directory in DA?
question two: how to run mod_security setup command?
it's "/usr/local/apache/bin/apxs -cia mod_security.c" on both articles, but since i can't locate my apache/bin directory, i have no idea how to run this setup command.
thanks.
http://admin0.info/articles/hardening/step-03.html
http://www.webhostgear.com/62.html
both are on cpanel, but i am not sure how to install and configure it with directadmin.
my first question: where is httpd.conf in DA?
on both article, is says it's in "/usr/local/apache/conf/httpd.conf "
but i don't have /usr/local/apache directory. i found mine in DA is "/etc/httpd/conf/httpd.conf", so is httpd.conf in this directory in DA?
question two: how to run mod_security setup command?
it's "/usr/local/apache/bin/apxs -cia mod_security.c" on both articles, but since i can't locate my apache/bin directory, i have no idea how to run this setup command.
thanks.