I've an Apache HTTPD server (and it's driving me nuts already). I've configured several tomcat workers. So a https://something.domain/WebApp1/
activates the web-application on the specified tomcat via AJP.
However, due to a naming convention change I have to redirect the path https://something.domain/app1/
to https://something.domain/WebApp1/
. So that the users practically only use the newer convention (WebApp1).
So I went to the httpd.conf file and activated mod_rewrite:
LoadModule rewrite_module modules/mod_rewrite.so
Beneath the "LoadModule"-block I've added the following snippet:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/app1$ WebApp1 [R]
</IfModule>
I restarted the Apache httpd service and tried to access .../app1
and it just led me to the 404. What do I need to do to get this running?