This module redirects all accesses from one path in the virtual
filesystem to another server/path. This might for example be useful if
you move a directory tree to another path/server.
Variables
Internal redirects only
If set, no actual redirect will be sent to the client, and the
Redirect to variable must be set to an absolute path name.
Redirect from
All files beginning with this will be redirected to Redirect
to.
Redirect to
Redirect files to this path/URL.
Redirect patterns
All files matching these patterns will be redirected.
Redirect files
Redirect one file to another. The Redirect to variable is
prepended to the destination file. The syntax is:
If the module is configured like below, and someone accesses the file
/bananas/facts.html on your server, that request will be
redirected to http://www.bananas.org/facts.html.
Redirect from: /bananas/
Redirect to: http://www.bananas.org/
/bananas/%s will be redirected to http://www.bananas.org/%s