Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello! Please, I need your help.
In my droplet Ubuntu with Apache and Tomcat, I config 000-default.conf to redirect my domain.com from port 80 to tomcat 8080 as below:
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
Works fine and the browser show me tomcat’s default page. But… I would like redirect to my JSF project (tomcat -> webapps). So I tried:
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://localhost:8080/MyProject/
ProxyPassReverse / http://localhost:8080/MyProject/
</VirtualHost>
or
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass /MyProject http://localhost:8080/MyProject/
ProxyPassReverse /MyProject http://localhost:8080/MyProject/
</VirtualHost>
So, the browser load my login project page, but does not load the CSS, images or JSF componets. Just a simple white page, with fields to input my user, password and a button.
When I click in the button to login, the response is a error.
Note: if I complete the browser URL mydomain.com/MyProject works. But if I change the config to ProxyPassReverse / http://localhost:8080/MyProject
the page not works. What I wrote above happens.
Tks for your assistance.
gerard
Jon Harris
orbitstorm88
rem3n
yolanda smith
301276acdc124dd982fe86364ba8c4
30ddab6038c044188d489290785dcb
699c9bc0a2c34f248e792cb8d2c6ab
Kent Morlan
sylvaticus
agitechcr
8b8f3c8ea96345bf8ddb0a59a008e2