I am forwarding all Apache traffic to a Tomcat server. This works ok, except when receiving a "/" root request, becaus then Apache does not forward an "/" URI but transforms the request to "/index.html". This breaks my webapp.
On my old server this worked fine:
.htaccess
How can I stop Apache from changing my URL's when forwarding to tomcat?
On my old server this worked fine:
.htaccess
Code:
# Redirect all to tomcat
RewriteCond %{REQUEST_URI} !^/niet-beschikbaar\.php$
RewriteRule ^(.*)?$ ajp://127.0.0.1:8010/$1 [P,QSA,L]
How can I stop Apache from changing my URL's when forwarding to tomcat?