Portal Home > Knowledgebase > Security > Mod_Security: Prevent htaccess disable
Mod_Security: Prevent htaccess disable
Wil prevent users from disabling mod_security server wide via their htaccess files.
Run via command line:
cd /usr/src/modsecurity-apache-1.9.1/apache1
/usr/local/apache/bin/apxs -ci -D DISABLE_HTACCESS_CONFIG mod_security.c
Replace "1.9.1" with actual version number.
Add to Favourites
Print this Article