Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm using apache2.2
Redirect 301
share|improve this question

1 Answer 1

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.