.htaccess Banning Most People


Subject: .htaccess Banning Most People
Hi everybody!

I'm using Icy Phoenix 1.3.0.53a right now and I just moved to a new hosting company, getting a new problem so I would like to get some help.
The problem is that my .htaccess is identifying many people (including me) as a exploit and it's banning us performing a redirection to 127.0.0.1.
After further investigation, I found the problematic block:

Code: [Download] [Hide] [Select]
RewriteCond %{HTTP_COOKIE}% s:(.*):%22test1%22%3b
RewriteRule ^.*$ http://127.0.0.1/ [R,L]



So I had to (temporary) comment them.

I tried explaining the problem to my web hosting but they say it's "code fault", so I come here to see if you can help me.

Thank you very much!

Subject: Re: .htaccess Banning Most People
Hi Danielc

I had the same problem on a first time live server install, same fix too.
Reported it in the conversion thread and did not get a "you should not do that"... yet :wink:
http://www.icyphoenix.com/viewtopic.php?f=1&t=8540

Subject: Re: .htaccess Banning Most People
Thank you Joshua!

Let's see if MG or some other person can help us to find a "better" workaround.

Greetings!

Subject: Re: .htaccess Banning Most People
DonĀ“t worry,
like I read in Internet, it only prevent a php bug of the php version 4.3.10

And if you do not have this old php version, you will be fine. :mricy:
So commit it out or delete this 2 lines

But that only my guess... lets wait for MG or other users with better knowledge about it. ;-)

By the way, I think Cracker Tracker is also able to make this safe.

Profile PM  
Subject: Re: .htaccess Banning Most People
Thank you!

I'm running PHP 5.2 I think..
Anyway, I have read that it is related to a phpBB 2 bug, and as Icy Phoenix is based on it, I'm not really sure if it affects Icy too..

Greetings!

Subject: Re: .htaccess Banning Most People
Thanks for posting this.

I have reviewed .htaccess by removing some very old stuff.

Subject: Re: .htaccess Banning Most People
So it is safe to remove that lines?

Thank you so much!

Subject: Re: .htaccess Banning Most People
Hi, I have updated .htaccess on GIT, I have removed some very oldish check.

Let me know if you have problems with the new one.

Subject: Re: .htaccess Banning Most People
Is it safe to use the new .htaccess with Icy Phoenix 1.3.0.53a?

Thank you very much!


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2451s (PHP: 8% SQL: 92%)
SQL queries: 15 - Debug Off - GZIP Enabled