Rainer Perske wrote:
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.comIf a user goes to http://www.somedomain.com/somedir, I want it to goto http://appserver.blah.com/somedirI 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
--------------------------------------------------------------------- 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
![]() |