httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: svn commit: r616335 - in /httpd/httpd/trunk: CHANGES modules/proxy/proxy_util.c
Date Tue, 29 Jan 2008 20:59:42 GMT

On Jan 29, 2008, at 3:43 PM, Ruediger Pluem wrote:

>
>
> On 01/29/2008 03:26 PM, jim@apache.org wrote:
>> Author: jim
>> Date: Tue Jan 29 06:26:20 2008
>> New Revision: 616335
>>
>> URL: http://svn.apache.org/viewvc?rev=616335&view=rev
>> Log:
>> Now let things like
>>
>>    ProxyPassReverse /foo balancer://bar
>>
>> work "as expected" :) :)
>
> I guess it may not in the case of members with the schemes
> ajp:// or fcgi:// :-).
>
>

:)

Well, if that's how they construct their Location headers :)

> I guess we can shortcut here by
>
>
>               return url;
>
> It seems unlikely that a backend server redirects to balancer://
>
>> +        }
>> +
>> +        l2 = strlen(real);
>> +        if (l1 >= l2 && strncasecmp(real, url, l2) == 0) {
>>              u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL);
>>              return ap_construct_url(r->pool, u, r);
>>          }
>
>

Shortcut where?

Mime
View raw message