Re: Apache redirect to tomcat application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CORRECTION

On Thu, Dec 19, 2019 at 6:09 PM Alex K <rightkicktech@xxxxxxxxx> wrote:
Hi,

On Thu, Dec 19, 2019 at 5:43 PM Eric Covener <covener@xxxxxxxxx> wrote:
>                 ProxyRequests Off
>                 ProxyPreserveHost On
>                 ProxyPass /var/www/myapp/ http://127.0.0.1:8443/
>                 ProxyPassReverse /var/www/myapp/ http://localhost:8443/

The first parameter is a URL prefix, not a filesystem path.
I tried same setup with /myapp instead of the full path, and this time I get the default tomcat page.  I want though to load the specific app under http/localhost:8443/app. When setting the below the user get URL not found, and the web browser seems to be searching for server_ip/app.

ProxyRequests Off
ProxyPreserveHost On
ProxyPass /myapp/ http://127.0.0.1:8443/app
ProxyPassReverse /myapp/ http://localhost:8443/app

Is there any way to instruct apache to load the app instead of the tomcat default page or is this a tomcat issue?
Many thanx for your help.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux