Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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

Redirect permanent /redirect http://www.example.com

For more elaborated setups => mod_alias documentation

share|improve this answer
add comment

Your Answer

 
discard

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.