Site Links
Pricing & Order
Members Area
Support Options
Who's Online Now
1 registered members (JAISP), 69 guests, and 418 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 235
Joined: December 2003
Show All Member Profiles 
Top Posters(30 Days)
isaac 17
Gizmo 14
jorb 5
Morgan 4
Mark S 3
Jake 2
whk 2
Ruben 1
Latest Photos
Testing to drag photos
Comfortable Cats
BSA photos
Chinese Buddhist temple.
Previous Thread
Next Thread
Print Thread
mod_security & a Redirect Loop #256816
04/10/15 06:57 PM
04/10/15 06:57 PM
Joined: Nov 2006
Posts: 182
Jake Offline OP
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
Joined: Jun 2006
Posts: 16,876
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,876
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.
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
Registration problems
by Baldeagle. 03/19/18 01:56 PM
Track your Posts that contain Attachments
by jorb. 03/11/18 03:14 PM
Bug in Category Display Options?
by Baldeagle. 03/01/18 07:00 PM
by JoshPet1975. 02/27/18 12:56 AM
Forum Statistics
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software