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

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

Our environment are apache2.2 + mod_perl2 + perl app

the perl app output 302 Found but from SEO reason I wanna change the status to 301 Moved Permanently only from Google bot

and If it need to edit application we have to request other software firm. so I wanna resolve with httpd.conf

share|improve this question

Well, i'd use mod_alias with Redirect or RedirectMatch directive, for a basic 301 redirection, something like this works :

Redirect permanent /redirect

For more elaborated setups => mod_alias documentation

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.