Apache proxypass does not resolve url for resources like images and css
问题 I need to map a path to my tomcat web application. I used proxypass for this. this is the current config in apache2 <VirtualHost *:80> ServerName localhost:80 ProxyPass /app http://localhost:8088/ui/ ProxyPassReverse /app http://localhost:8088/ui/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> This gets the HTML from tomcat but the css url formed is wrong. Instead of http://localhost/app/css/style.css the url is mapped as http://localhost