I have the following situation:
- a web server defined in the config with the name 'besvr', which is open on port 8000
- the following rewrite rule:
RewriteRule ^/admin(.*)$ http://besvr/admin$1 [NE,L,P]
With the aim of proxying anything beginning with /admin to the backend.
The following url:
/admin&lang=fr
should be passed directly as it is, should it not (because the NE flag should mean the & and = are not encoded), however it is passed as;
/admin%26lang%3Den
which breaks it on the backend and produces an error page.
If I go directly to (besvr):8000/admin&lang=fr
the page is displayed as expected.
I've tried this in 3.3.23 and 4.0b3 and the result is the same.
It appears to me that the NE flag is not doing its job, or otherwise I've misunderstood what it does.