Htaccess Redirect Error? »  Show posts from    to     

Icy Phoenix


Old Support Topics - Htaccess Redirect Error?



borbo [ Sat 03 Jan, 2009 19:48 ]
Post subject: Htaccess Redirect Error?
hello there and happy new year to everybody.

without touching anything to my ip files suddenly my site redirects all its visitors to http://127.0.0.1/....


renaming my roots htaccess file to htaccess.bak everythink works..

Why is this happenning?i didnt make any changes to my files for months?

i know its not much safe to run my site without an htaccess file so can anybody help me find a solution?

thank you very much


tormentor [ Sat 03 Jan, 2009 20:04 ]
Post subject: Re: Htaccess Redirect Error?
Without knowing what's happening on your site , if I were you I would comment each line and uncomment them one by one or by groups till finding where is the problem.


borbo [ Sat 03 Jan, 2009 20:21 ]
Post subject: Re: Htaccess Redirect Error?
I thought something like this but i'm wondering why this is happenning?


Informpro [ Sat 03 Jan, 2009 20:22 ]
Post subject: Re: Htaccess Redirect Error?
The file please


borbo [ Sat 03 Jan, 2009 20:28 ]
Post subject: Re: Htaccess Redirect Error?
commenting the lines below everything works

Code: [Hide]
  1. # SANTY  
  2. RewriteCond %{HTTP_REFERER} ^.*$  
  3. RewriteRule ^.*%27.*$ http://127.0.0.1/ [redirect,last]  
  4. RewriteRule ^.*%25.*$ http://127.0.0.1/ [redirect,last]  
  5. RewriteRule ^.*rush=.*$ http://127.0.0.1/ [redirect,last]  
  6. RewriteRule ^.*echr.*$ http://127.0.0.1/ [redirect,last]  
  7. RewriteRule ^.*esystem.*$ http://127.0.0.1/ [redirect,last]  
  8. RewriteRule ^.*wget.*$ http://127.0.0.1/ [redirect,last]  
  9. RewriteCond %{HTTP_COOKIE}% s:(.*):%22test1%22%3b  
  10. RewriteRule ^.*$ http://127.0.0.1/ [R,L] 



EDIT: this line,the last one seems to be the problematic


Code: [Hide]
  1. RewriteRule ^.*$ http://127.0.0.1/ [R,L] 


Informpro [ Sat 03 Jan, 2009 21:13 ]
Post subject: Re: Htaccess Redirect Error?
replace 127.0.0.1 by ur website


borbo [ Sun 04 Jan, 2009 00:57 ]
Post subject: Re: Htaccess Redirect Error?
thank you very much Informpro,


Chaotic [ Sun 04 Jan, 2009 02:58 ]
Post subject: Re: Htaccess Redirect Error?
Just for completion purposes, did this fix your problem?


Lopalong [ Sun 04 Jan, 2009 03:58 ]
Post subject: Re: Htaccess Redirect Error?
@ informpro.

Why on Earth would you recommend that someone redirects a very bad WORM into their url, rather than away from it. ?

http://en.wikipedia.org/wiki/Santy

@ borbo

Have you been inside your cPanel of late and changed anything such as hot-linking prevention or anything else that writes to the .htaccess file. ?

Also: Which url below reflects your forum url the best.

http://yoursite.com/your-forum/forum.php

or

http://yoursite.com/forum.php


leemartin44 [ Sun 04 Jan, 2009 06:02 ]
Post subject: Re: Htaccess Redirect Error?
I just uploaded Icey and got the same issue so I deleted the file, strange


Lopalong [ Sun 04 Jan, 2009 06:19 ]
Post subject: Re: Htaccess Redirect Error?
And of course you did upload the file in binary?

And to both of you:

Your website url is ?

Because none of us are mind readers.




Powered by Icy Phoenix