Andreas Hahn schrieb: after some more research I've found the solution. My VirtualHost configuration was incorrect - sorry for bothering you. Problem was with the ProxyPassReverse Settings. FWIW I'll include the final solution in case somebody has a similar problem and also wants to get rid completely of the 'long' urls. <VirtualHost *> ServerName mydomain.com RewriteEngine On RewriteLog /var/log/wiki_rewrite.log RewriteLogLevel 2 CustomLog /var/log/wiki_custom.log common ErrorLog /var/log/wiki_error.log # rewrite to internal ip RewriteRule ^/(.*) http://192.168.1.105/appContext/$1 [L,P,E=proxy_ok:1] # Preserve the host-part in the forwarded url ProxyPreserveHost On # Substitute responses with the original ProxyPassReverse / http://192.168.1.105/appContext/ ProxyPassReverse / http://192.168.1.105/appContext ProxyPassReverse / http://mydomain.com/appContext/ ProxyPassReverse / http://mydomain.com/appContext </VirtualHost>