httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Gifford <>
Subject Re: [users@httpd] Re-Post: rewrite backslash to forward slash
Date Sun, 17 Apr 2005 02:30:38 GMT
joshua hough <> writes:


> Can't Apache simply be told to rewrite a backslash to a slash?

This works for me:

    RewriteRule ^(.*)\\(.*)$ $1/$2 [R]

That is, replace a URL that starts with X, then has a backslash, then
ends with Y with X then a forward slash then Y, and send back a
redirect to the browser.

This redirects them to the correctly named page, so each page has One
True Name (which will improve caching).


for more information.


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