Apache: Reverse proxy configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.