Apache redirect to tomcat application

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

 



Hi all,

I have apache 2.4 servicing some php code. Apache is configured to service HTTPs pages.
I have also a tomcat app which can be accessed at http://server_ip:8443/app.

I need to be able to access the tomcat app within the main GUI which is build on php and accessed with HTTPs.

I've tried the reverse proxy things with apache without success.

Currently I have at default-ssl.conf of apache: 

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


where "myapp" is the directory with the php code that actually loads with iframe http://127.0.0.1:8443/app.

The above does not function though.
What I need to achieve is users to be able to access from the main interface the tomcat app. I would like to avoid also configuring self signed certs for tomcat as the user receives alerts on certificate issues.

Please advise hoe can this be achieved.
Thank you.
Alex

[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