Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (M4TT, isaac, Morgan), 54 guests, and 411 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
M4TT
M4TT
Canada, SK
Posts: 51
Joined: March 2015
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
M4TT 9
Ruben 8
isaac 5
mmkk 4
FREAK 3
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
mod_security & a Redirect Loop #256816
04/10/15 05:57 PM
04/10/15 05:57 PM
Joined: Nov 2006
Posts: 180
Virginia
J
Jake Offline OP
member
Jake  Offline OP
member
J
Joined: Nov 2006
Posts: 180
Virginia
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.

Thanks!

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 09:22 PM
04/10/15 09:22 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
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:
Code
<IfModule mod_security.c>
# Turn off mod_security filtering.
	SecFilterEngine Off
	SecFilterScanPOST Off
</IfModule>


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
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,545
Members12,046
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171217)