.htaccess Banning Most People »  Show posts from    to     

Icy Phoenix


Old Support Topics - .htaccess Banning Most People



Danielc [ Wed 23 May, 2012 22:08 ]
Post 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: [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!


Joshua203 [ Thu 24 May, 2012 00:36 ]
Post 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
http://www.icyphoenix.com/viewtopic.php?f=1&t=8540


Danielc [ Thu 24 May, 2012 22:42 ]
Post 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!


TheSteffen [ Fri 25 May, 2012 00:11 ]
Post 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.
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.


Danielc [ Fri 25 May, 2012 00:22 ]
Post 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!


Mighty Gorgon [ Sun 27 May, 2012 10:25 ]
Post subject: Re: .htaccess Banning Most People
Thanks for posting this.

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


Danielc [ Sun 27 May, 2012 16:25 ]
Post subject: Re: .htaccess Banning Most People
So it is safe to remove that lines?

Thank you so much!


Mighty Gorgon [ Sun 10 Jun, 2012 09:13 ]
Post 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.


Danielc [ Sun 10 Jun, 2012 15:53 ]
Post 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!




Powered by Icy Phoenix