Redirect directive


Purpose

The Redirect directive creates a virtual document on your server, and any accesses to it will be redirected to a new URL.


Syntax

Redirect virtual URL

virtual is the translated location which should trigger a redirect..

URL is the URL of the new document.

Several Redirect directives may appear in the configuration file.


Example

Redirect /dir1 http://newserver.widget.com/dir1

This would cause requests for /dir1 to be redirected to the new location, http://newserver.widget.com/dir1.


Return to Resource Configuration File Overview

httpd@ncsa.uiuc.edu