RewriteRule for case insensitive URL

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

 



Hi

I am attempting to create a rewrite rule for our application and am in
need of some assistance. The application is found at the following
URL: https://my.domain.com/FooBar

We are looking to be able to catch all cases of the path /FooBar
(fooBar, Foobar, foobar, FOOBAR) and have it redirect to the correct
URL "/FooBar". I have the current rule in place but this causes a
redirect loop:

RewriteRule ^/foobar(.*) /FooBar$1 [NC,R]


How can I avoid this redirect loop and still have the user be able to
enter any combination of uppercase and lowercase letters in the URL?

Thanks in advance,
Matt Veitas

---------------------------------------------------------------------
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