This directive is functionally the same as the Redirect directive, except RedirectPermanent sends a 301 Moved Permanently response code while Redirect sends a 302 Moved Temporarily response code.
RedirectPermanent virtual URL
virtual is the translated location which
should trigger a redirect..
URL is the URL of the
new document.
Several RedirectPermanent directives may appear in the configuration file.
RedirectPermanent /dir1 http://newserver.widget.com/dir1
This would cause requests for /dir1 to be redirected to the new
location, http://newserver.widget.com/dir1, using response
code 301 (Permanently Moved).
Return to Resource Configuration File Overview