Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a .htaccess to get all documents from an old site to the new one. The old site doesn't support PHP or mod_rewrite. I tried the following code:

Redirect 301 /

I requested "" Which resulted into

Is this possible to solve?

share|improve this question

Kevin -

At first glance, it looks like something within your application is doing quite a few redirects. The simple Redirect statement in your .htaccess shouldn't be creating the very long URL that you pasted above.

It may help you debug the issue if you use curl to test it:

$ curl -I | grep ^Location

From there, just curl the URL that is returned and see where you're redirected then. Take the next URL and curl it as well. Keep going until you are able to debug the source of those redirects.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.