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 apache2.2
Redirect 301
share|improve this question

maybe you need php and do redirection.

header("Location: {$_GET['redirection']}";

you can also use

  RewriteEngine on
  RewriteRule ^/(.*)$1 [L,R=301]

as described on dave website:

share|improve this answer
Thank you for replying. but I have to resolve by using only apache conf and have to decode url=$1 – freddiefujiwra Sep 27 '11 at 3:50

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.