Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache Redirect rule - case insensitive possible?? |
|
Author |
|
flatcircle
Joined: 27 Jun 2006 Posts: 79
|
Posted: Mon 16 Nov '09 16:00 Post subject: Apache Redirect rule - case insensitive possible?? |
|
|
Hello
I have a lot of redirects for my site.
I use Redirect 301 /somedir http://www.somesite.com/
Problem is that the redirects are case sensitive.
When I try /SOMEdir, I get a page not found.
How can I fix that all my redirects will work in lower and uppercase?
I already tried mod_speling.so but seems that this will only fix the case-problem when real directories are present in the root, this doesn't work for redirects.
Kind regards. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 16 Nov '09 20:29 Post subject: |
|
|
[NC] no case
RewriteCond %{REMOTE_HOST} ^host1.* [NC,OR]
RewriteCond %{REMOTE_HOST} ^host2.* [NC]
RewriteRule ...some special stuff for any of these hosts... |
|
Back to top |
|
|
|
|
|
|