ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label htaccess.. Show all posts
Showing posts with label htaccess.. Show all posts

2011/03/20

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit ifnecessary. Use ‘LogLevel debug’ to get a backtrace

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit ifnecessary. Use ‘LogLevel debug’ to get a backtrace


When you try to browse your website, if you are getting this error. This means that you have exceeded the limit of intername redictions used in your website.


To avoid  this error message simply use following code in .htaccess file.


RewriteRule .* - [L]

2009/09/16

How to disabe mod security using htaccess

Inorder to disable mod_security add the following code into the .htaccess file


# Turn off mod_security filtering.
SecFilterEngine Off

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



/// If it is apache 2 then mod_security will be version2 so in that case use
SecRuleEngine Instead of SecFilterEngine