Changes

From SME Server
Jump to navigationJump to search
18 bytes added ,  00:22, 3 November 2014
no edit summary
Line 11: Line 11:     
then edit the file in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/ with your favorite editor mcedit, nano, pico, vi, vim ...
 
then edit the file in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/ with your favorite editor mcedit, nano, pico, vi, vim ...
  vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20mod_evasive
+
  vim etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20mod_evasive
    
Then change according to your need the followings
 
Then change according to your need the followings
Line 33: Line 33:  
  chown www:www /var/log/mod_evasiv
 
  chown www:www /var/log/mod_evasiv
   −
You could then easily set a jail with fail2ban that is checking theses logs...
+
You could then easily set a jail with fail2ban that is checking theses logs if really necessary...
    
  expand template and restart apache
 
  expand template and restart apache
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu