Name
RedirectMatch
Synopsis
RedirectMatch [status
]regex
url
Similar to Redirect
but uses standard regular expressions. This option tells the server
to forward clients that request a directory or document matching the
regular expression regex to a new location,
specified by url. For example:
RedirectMatch (.*).jpg http://imageserver.mycorp.com$1.jpg
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.