Hi Cyril,

D'ar meurzh 01 a viz Ebrel 2014 e 23 eur 35, « Cyril Bonté » he deus skrivet :
>
> > If bk_local has server UP in the farm, and request look like
> > https://203.0.113.42/__bar, then everything is fine, request is nicely
> > handled by bk_local/localhost. http://203.0.113.42/__bar is correctly
> > redirected.
> >
> > If bk_local has no server UP in the farm, then the 'http-request
> > redirect scheme' is always applied instead of a 503 response. I don't
> > known if this is the really intended result. In the request
> > (https://203.0.113.42/__bar),
> 
> I'm not sure to understand. Did you want to write 
> http://203.0.113.42/__bar just above ?

No https://203.0.113.42/__bar should not pass 'http-request redirect
scheme' as not the all prerequisites are matched.

I need the 'http-request redirect scheme' be applied only if request is
for the right vhost (v-local) and for the right path (p-admin) and if
is not a ssl request.

> If it was supposed to be "http" instead of "https", I'd call it a 
> feature and you can use "nbsrv" to disable disable redirects when no 
> server are available.

Sure, but I'm more trying to understand that behaviour here.

-- 
Bertrand

Reply via email to