Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what is the point of disabling mod_security ?
#1
In the installation package for MyBB, there is a "htaccess.txt" file which contains the following code: 
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
	# Turn off mod_security filtering.
	SecFilterEngine Off

	# The below probably isn't needed, but better safe than sorry.
	SecFilterScanPOST Off
</IfModule>

What exactly is the idea behind that? Why is it useful or necessary to disable mod_security in the forum?
Reply
#2
basically it is related to older versions of MyBB (see related documentation)

however
we still experience some strict security rules affecting MyBB forum functionality.
This community has many related topics ... (search engine results)
Reply
#3
Dang. I only looked for "mod_security" without results. OK, i'm looking stupid again. Hope you all enjoyed the show. ;-)


Edit/P.S.: Thanks for the reply.
(09-18-2018, 07:29 AM).m. Wrote: basically it is related to older versions of MyBB (see related documentation)

Maybe it'd be a nice idea to add this information in a comment line in the htaccess.txt file?
Reply
#4
(09-18-2018, 07:29 AM).m. Wrote: basically it is related to older versions of MyBB (see related documentation)

however
we still experience some strict security rules affecting MyBB forum functionality.
This community has many related topics ... (search engine results)

"older versions of MyBB" = Meaning the 1.6.xx series and older. Right?

This can be safely removed if one is running 1.8.xx series or newer. Right?

# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: 5M7sb0n.png?1]
Reply
#5
No? As .m. already said it may still break some functionality. MyBB and mod_security haven't been changed much since the code has been added.
[Image: banner.png]
Reply
#6
- Mod_security is an apache module that shields your site from different assaults. It is utilized to square usually realized adventures by use ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)