Apache currently uses a wide range of applications, but Apache native does not support the deployment of Java programs, or Java will often use Tomcat,was and the like to deploy. A 80 port on a server is very valuable, often many programs are rushing to. This is not the case when you really encounter this scenario:
Requires a server access, but only supports 80-port (bei) ports (Shang)
There is a server, but the 80 port deployment of Apache, configured with Svn,mantis and so on a lot of things, can't move
At this point, directly using Tomcat to deploy Java programs, and then, the use of Apache's own reverse proxy module can be.
Create a new configuration file:
vim/etc/httpd/conf.d//lplay http://localhost:8080/lplayproxypassreverse/lplay http: // Localhost:8080/lplay
In this way, you can access the Ip/lplay, the equivalent of direct access to Ip:8080/lplay, pro-test can access the server, the effect of leverage!
Apache: Reverse proxy configuration