Icy Phoenix

     
 

.htaccess Banning Most People

.htaccess Banning Most People

Article
Reply with quote    Download Post  
Post .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!



 
Danielc - View user's profile Send private message  
Danielc [ Wed 23 May, 2012 22:08 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


.htaccess Banning Most People

Comments
Reply with quote    Download Post  
Post 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



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Thu 24 May, 2012 00:36 ]
Reply with quote    Download Post  
Post 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!



 
Danielc - View user's profile Send private message  
Danielc [ Thu 24 May, 2012 22:42 ]
Reply with quote    Download Post  
Post 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.



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Fri 25 May, 2012 00:11 ]
Reply with quote    Download Post  
Post 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!



 
Danielc - View user's profile Send private message  
Danielc [ Fri 25 May, 2012 00:22 ]
Reply with quote    Download Post  
Post Re: .htaccess Banning Most People 
 
Thanks for posting this.

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



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 27 May, 2012 10:25 ]
Reply with quote    Download Post  
Post Re: .htaccess Banning Most People 
 
So it is safe to remove that lines?

Thank you so much!



 
Danielc - View user's profile Send private message  
Danielc [ Sun 27 May, 2012 16:25 ]
Reply with quote    Download Post  
Post 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.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 10 Jun, 2012 09:13 ]
Reply with quote    Download Post  
Post Re: .htaccess Banning Most People 
 
Is it safe to use the new .htaccess with Icy Phoenix 1.3.0.53a?

Thank you very much!



 
Danielc - View user's profile Send private message  
Danielc [ Sun 10 Jun, 2012 15:53 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1