httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] RedirectMatch or Rewrite: backslash to forward slash
Date Wed, 13 Apr 2005 20:13:00 GMT
On 4/13/05, joshua hough <> wrote:
> How do I rewrite backslashes in URLs to forward slashes?  I've tried
> various syntax in my .htaccess using %5C for the backslash character, but
> so far haven't been able to even capture those requests, let alone redirect
> them.  My specific example is like this:
> RedirectMatch /directory%5C(.*)$$1
> If this would be better accomplished with Rewrite, I would appreciate an
> example.  Thanks.

Total guess:
Redirect /directory\\
(on the assumption that apache is treating the backslash as an escape character)


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message