Answer the question
In order to leave comments, you need to log in
Apache mod_proxy url encoding?
There is a web service that accepts parameters in the URL, like service/{parameter}
There is Apache2 that proxies requests to the service
<VirtualHost *:9091>
AllowEncodedSlashes NoDecode
LogLevel debug
ProxyPass /webservice balancer://api/webservice
<Proxy balancer://api>
BalancerMember http://localhost:8030
</Proxy>
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Who cares, I decided like this:
AllowEncodedSlashes NoDecode
ProxyPass /webservice balancer://api/webservice nocanon
issues.apache.org/bugzilla/show_bug.cgi?id=34602#c27
RewriteRule ^(.*)$ index.php?show=$1 [B,L]
In the given example, a request to http://example.com/C++ (or
http://example.com/C%2B%2B) would be redirected internally to
index.php?show=C%2B%2B instead of index.php?show=C++
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question