Hi

Nick Ascione schrieb am 2006-09-20:
> I have a server setup as a reverse proxy for a server called for
> example www.somedomain.com

> If a user goes to http://www.somedomain.com/somedir, I want it to
> goto http://appserver.blah.com/somedir

> I have the following

> <LocationMatch "/somedir">
> ProxyPass          http://appserver.blah.com/somedir
> ProxyPassReverse   http://appserver.blah.com/somedir
> </LocationMatch>

> The above works great. The problem is, that is does not match
> http://www.somedomain.com/Somedir or /SoMeDir etc etc...

> I want it to ignore case. Is there a way to do this easily with
> using mod_rewrite?

I prefer mod_speling using a dummy directory:

   mkdir /path/to/htdocs/somedir

When the browser requests <http://www.somedomain.com/SoMeDir>, mod_speling
returns a redirect to <http://www.somedomain.com/somedir>. Voilà!

HTH
-- 
Rainer Perske, Zentrum für Informationsverarbeitung, Universität Münster
Lesetipp: <http://www.textkritik.de/schriftundcharakter/sundc008tofu.htm>

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to