httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Ascione <nick.asci...@jhu.edu>
Subject Re: [users@httpd] proxypass ignore case issue
Date Thu, 21 Sep 2006 14:56:30 GMT
In my case the backend host is a IIS server. Any ideas?


Rainer Perske wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Nick Ascione schrieb am 2006-09-21:
>
>   
>> Thanks Rainer.
>>     
>
>   
>> The mod_speling works great.
>>     
>
> fine :-)
>
>   
>> However I have a new interesting problem
>>     
>
>   
>> In my vhost I have
>>     
>
>   
>> proxypass /somedir  /http://www.somedomain.com/somedir
>> proxypassreverse /somedir  /http://www.somedomain.com/somedir
>>     
>
>   
>> The above works fine and mod_speling catches any weird way that
>> somedir can be written.
>>     
>
>   
>> But... Since I need this server to also proxy requests to / for
>> www.somedomain.com when I put in
>>     
>
>   
>> proxypass /  http://www.somedomain.com
>> proxypassreverse / /http://www.somedomain.com/somedir
>>     
>
> that's out of sync, try
>
> proxypass / http://www.somedomain.com
> proxypassreverse / http://www.somedomain.com
>
> (both lines after all other proxypass/proxypassreverse lines)
>
>   
>> the mod_speling no longer works. It seems to only process only if
>> none of the proxypass rules match and since the rule for / matches
>> http://www.somedomain.com/SoMeDir mod_speling does not kick in.
>>     
>
>   
>> Do you know of a way around this?
>>     
>
> Simply activate mod_speling on the backend host, too. The redirect
> coming from the backend host gets rewritten by the proxy host exactly
> as needed due to the proxypassreverse directive, thus it is important
> that the parameters of proxypass and proxypassreverse are identical.
>
> HTH
>
> cu
> - -- 
> Rainer Perske, Zentrum für Informationsverarbeitung, Universität Münster
> Lesetipp: <http://www.textkritik.de/schriftundcharakter/sundc008tofu.htm>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (AIX)
>
> iQDVAwUBRRKjl89UbnbjB8C5AQGElAYAkYosxiUdO40su4ChcNO340+zrMNwQ9eO
> rkXausFjs4H+EVfPoUAi/gh7kl/IgxbYRQ83pl4Gt1/m9dpZOMO/ZG4DEJMyGMRn
> gfIGssFi7WWKesDAjKT19cGNEAOVvhLTdIwvvJUzi79mpDTEEQprJ+1qzXOqDdtD
> jDuSloZiKUD4/aZGL6vZtv2OPO1gc4T5gGJ0L2gQwZkFFBEFh2POak8Wur3mE2D+
> GbAWCIe3Yw8k0cU9nwL2yJzRqPwEgHvU
> =j2A8
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> 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
>   

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