httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Perske <rainer.per...@uni-muenster.de>
Subject Re: [users@httpd] proxypass ignore case issue
Date Wed, 20 Sep 2006 17:18:58 GMT
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message