Development of mod_proxy solution with [P], proxy flag:
Enable mod_proxy and mod_proxy_http modules:
a2enmod proxy proxy_http
300 "AH00669: mod_rewrite - " .
Apache2 vhost :
<VirtualHost *:8080>
…
RewriteEngine on
RewriteCond %{REQUEST_URI} !^$
RewriteCond %{REQUEST_URI} !^/
RewriteRule .* - [R=400,L]
RewriteRule (.*) http://host.com:9999/myapplication/$1?param=val [P,L]
…
</VirtualHost>
, URL-, . , GET .
Apache2:
sudo service apache2 restart