That seemed to work. I had to modify the rule slightly: RewriteRule ^/foobar(.*) /FooBar$1 [NC,L, R=301] On Wed, Jun 17, 2009 at 9:10 AM, Igor Cicimov<icicimov@xxxxxxxxx> wrote: > Or maybe this one > > RewriteCond %{REQUEST_URI} !^/FooBar > RewriteRule ^/foobar(.*) /FooBar$1 [NC,L] > > Igor > > On 6/17/09, Krist van Besien <krist.vanbesien@xxxxxxxxx> wrote: >> On Tue, Jun 16, 2009 at 3:33 PM, Matt Veitas<mveitas@xxxxxxxxx> wrote: >>> 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] >> >> Something like this could work: >> >> RewriteRule ^/FooBar.* [L] >> RewriteRule ^/foobar(.*) /FooBar$1 [NC,R] >> >> Krist >> >> >> >> -- >> krist.vanbesien@xxxxxxxxx >> krist@xxxxxxxxxxxxx >> Bremgarten b. Bern, Switzerland >> -- >> A: It reverses the normal flow of conversation. >> Q: What's wrong with top-posting? >> A: Top-posting. >> Q: What's the biggest scourge on plain text email discussions? >> >> --------------------------------------------------------------------- >> 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 >> >> > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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