News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

why mod security off in htaccess

Started by Nodaz, December 26, 2020, 05:13:05 PM

Previous topic - Next topic

Nodaz

Just checking htaccess on several SMF sites, one had this entry:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>


Any particular reason to have it or not?  I dont recall adding it, perhap a mod?

vbgamer45

It causes issues at time with forums mods.

Generally if you have ;id= in the url request will fail.
Also common words like cc: to: in forum posts may cause an error.
Their are various rules in mod_security that cause trouble at times.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Sir Osis of Liver

mod_security has caused problems on many forums, recommendation is to disable it.  Usually can be done in cpanel.  AFAIK there isn't a mod that disables it via .htaccess.
When in Emor, do as the Snamors.
                              - D. Lister

Nodaz

Quote from: Sir Osis of Liver on December 26, 2020, 05:20:10 PM
mod_security has caused problems on many forums, recommendation is to disable it.  Usually can be done in cpanel.  AFAIK there isn't a mod that disables it via .htaccess.
Ty
I have disabled it in cpanel

Advertisement: