Site Links
Pricing & Order
Members Area
Support Options
Who's Online Now
3 registered members (isaac, Alento, JAISP), 89 guests, and 205 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Mark S
Mark S
Liverpool : England : UK
Posts: 4,722
Joined: July 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 18
Gizmo 18
Ruben 15
Morgan 6
Alento 2
M4TT 2
driv 2
Latest Photos
Testing to drag photos
Comfortable Cats
BSA photos
Previous Thread
Next Thread
Print Thread
mod_security & a Redirect Loop #256816
04/10/15 06:57 PM
04/10/15 06:57 PM
Jake  Offline OP
Joined: Nov 2006
Posts: 182
Can anyone enlighten me on mod_security settings on a webserver?

I don't have lots of details, but it appears that when the webhost beefed up some settings in mod_security it lead to users seeing the error message: "This webpage has a redirect loop".

This affected both UBB and our Joomla pages. It seemed to kick off when returning to the home page after visiting another page in UBB or the Joomla site.

Changes to several rules did not seem to make a difference. The fix for the moment was to turn it off.

Has anyone encountered this? If yes, can you enlighten me? I'd like to pass the information to the webhost.


Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: mod_security & a Redirect Loop [Re: Jake] #256817
04/10/15 10:22 PM
04/10/15 10:22 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,974
Portland, OR; USA
It can really be a multitude of things, possibly even config related on your end.

You should rename any .htaccess files temporarily to see if something in them is causing it to preform in the behavior you've been witnessing. If it's not your .htaccess files (ie it still gives the issue) you could try disabling the ubb's spider friendly urls and see if that causes an issue.

The only other avenue I can suggest is to troll through your access logs looking for an error provided by mod_security (it should specify, at least by throwing a bizarre error code) and try to get some settings that'll work with your environment.

You can also try to circumvent mod_security in your web root, if your host allows it, by adding this bit of code:
<IfModule mod_security.c>
# Turn off mod_security filtering.
	SecFilterEngine Off
	SecFilterScanPOST Off

Please note that, by disabling mod_security (if allowed) your webhost won't reap any of the security benefits of the module (but I don't even use it on my server, so 'eh, your mileage may vary).

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums. Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
UBB.threads 7.7.0 - Progress Reports
by isaac. 10/13/18 09:34 AM
Can't Reply to Global Announcements
by M4TT. 10/06/18 08:29 PM
Forum Statistics
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2