[users@httpd] Re-Post: rewrite backslash to forward slash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Someone must know the answer to this...

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(.*)$ http://domain.com/directory/$1

What's wrong with my syntax? If this would be better accomplished with Rewrite, I would appreciate an example. Thanks.
-Josh


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux