PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Mod Security ( Random 503/403 Errors )

Common Questions/Problems/Tips. Posted by Administrators & Support Reps.

Mod Security ( Random 503/403 Errors )

Unread postby Jason Caldwell » August 31st, 2011, 8:25 pm

~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/
Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a ( comes in handy ). Then Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Mod Security ( Random 403 Errors )

Unread postby Jason Caldwell » September 13th, 2011, 1:46 pm

It seems that HostGator has made changes to their configuration recently, and in particular, this host seems to be troublesome for the s2Member application. HostGator support has been contacted about this, and I'm awaiting a response from the higher-ups.

Hopefully I will NOT get a response like this,
"please ask them to write to us for white-listing".

Here is a copy of my conversation with HostGator thus far. I'll update this thread again once I hear more. Hopefully they'll provide a well-thought-out, long-term, solution so we can continue to recommend HostGator as a viable solution for WordPress/s2Member.

~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/
Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a ( comes in handy ). Then Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Mod Security ( Random 403 Errors )

Unread postby Jason Caldwell » September 13th, 2011, 5:38 pm




Just to note, the tilda ( ) in the query string that s2Member uses, seems to be somewhat to blame in at least one of these bug reports at HostGator. A tilda ( ) is sometimes used as a URL-safe alternative to the ( ) sign in base64 encoding.

However, we already have plans to strip the tildas off the end of these URLs in the next release of s2Member, in a further attempt to help HostGator avoid this problem, and also, just in case other hosts have an issue with this in the future. In the mean time though, maybe this info will help HostGator with the ruleset changes.

It seems like the tilda ( ) scores quite negatively on HostGator for some reason.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/
Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a ( comes in handy ). Then Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Mod Security ( Random 403 Errors )

Unread postby Jason Caldwell » September 14th, 2011, 1:21 am


This seems to resolve the issue now with HostGator. Great support they have!


~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/
Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a ( comes in handy ). Then Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Mod Security ( Random 503/403 Errors )

Unread postby webamin » November 10th, 2011, 11:01 am

Thanks for all of the tips. I am thinking about switching and running my own dedicated server or some type of . I'll have to bookmark this post so that I can save myself some headaches associated with mod_security. I will definitely be referring back to how I can disable it inside my httpd.conf file with something like you suggested.
User avatar
webamin
Registered User
Registered User
 
Posts: 6
Joined: November 9, 2011

Re: Mod Security ( Random 503/403 Errors )

Unread postby Jason Caldwell » November 20th, 2011, 7:37 pm

Update. Raam Dev recently discovered that can cause a problem in some cases also.
Please take a quick look at this thread to rule this out before you give up.
See: viewtopic.php?f=4&t=14619&p=53536#p53526
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/
Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a ( comes in handy ). Then Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to Common Questions/Problems/Tips

Who is online

Users browsing this forum: No registered users and 1 guest