Hi Yann,

>  RewriteRule "^/alpha/gobeta/(.*)$"  http://server2.localnet:8080/beta/$1
[P]
If the RewriteRule is specified with the option [P] it works correctly. The
request
https://example.ort/alpha/gobeta/anypath is sent to the beta backend.

> Also, it seems to me that "/alpha/gobeta/.." is not matched by the
> "ProxyPass /beta ...", so it really boils down to the RewriteRule only.
> What do you expect here?
But when I take the option [PT] the behavior changes. Without
"mapping=servlet" the
request is sent to the beta backend. With "mapping=servlet" the request is
replied
by a 404 NOT FOUND.  -  Is this change of behavior acceptable?
Maybe it is acceptable cause the option [PT] is the wrong choice if I want
the request
to be replied by the proxied beta backend.
But some inexperienced admins will run into trouble. (like me ;-)

Regards,
Hendrik

Reply via email to