Portal Home > Knowledgebase > Security > Mod_Security: Prevent htaccess disable


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.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
General Security (Views: 1195)