You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Covington, Chris" <cc...@plusone.com> on 2004/07/22 18:20:53 UTC

[users@httpd] case insensitive ProxyPass?

Hi all,

Is it possible to do a case insensitive ProxyPass?  IE, such as:

ProxyPass //public/i https://www.example.com/public
ProxyPassReverse //public/i https://www.example.com/public

I want https://www.example.com/Public as well as
https://www.example.com/public as well as https://www.example.com/PUBLIC
to be proxied.

thanks
Chris

---------------------------------------------------------------------
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


Re: [users@httpd] case insensitive ProxyPass?

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 22 Jul 2004 12:20:53 -0400, Covington, Chris
<cc...@plusone.com> wrote:
> Hi all,
> 
> Is it possible to do a case insensitive ProxyPass?  IE, such as:
> 
> ProxyPass //public/i https://www.example.com/public
> ProxyPassReverse //public/i https://www.example.com/public
> 
> I want https://www.example.com/Public as well as
> https://www.example.com/public as well as https://www.example.com/PUBLIC
> to be proxied.

This is not really the best of ideas, since URLs are case-sensitive. 
But you can probably do this using:

RewriteRule ^/public/i(.*) https://www.example.com/public$1 [P,NC]

That won't fix the ProxyPassReverse header rewriting.

Joshua.

---------------------------------------------------------------------
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