Apache Forwarding Configuration

Source: Internet
Author: User

installation Files

1, Httpd-2.2.15-win32-x86-no_ssl.msi

Configuration

Open the httpd.conf under the Conf folder of the Apache installation directory

1, the following two lines before the annotation character # removed:

#LoadModule Proxy_module modules/mod_proxy.so

#LoadModule Proxy_http_module modules/mod_proxy_http.so

2, at the end of the httpd.conf file plus forwarding rules

For example:

Proxypass/cas Http://192.168.0.206:9090/cas

Proxypassreverse/cas Http://192.168.0.206:9090/cas

Forwarding the request at the beginning of the/cas to the 206 server 9090 port on CAs

In turn, other forwarding is set in this way, such as:

Proxypass/cas Http://192.168.0.206:9090/cas

Proxypassreverse/cas Http://192.168.0.206:9090/cas

Proxypass/aip HTTP://192.168.0.206:9090/AIP

Proxypassreverse/aip HTTP://192.168.0.206:9090/AIP

Proxypass/eagle Http://192.168.0.206:8080/eagle

Proxypassreverse/eagle Http://192.168.0.206:8080/eagle

Proxypass/idap Http://192.168.0.155:6060/idap

Proxypassreverse/idap Http://192.168.0.155:6060/idap

#bbs不转发, using Apache processing

Proxypass/bbs.

Proxypassreverse/bbs.

initiates the application on the forwarding destination server. Installation Complete

Accessing the Http://IP/cas is equivalent to accessing the Http://192.168.0.206:9090/cas in the configuration

Note: In AIP combined with the neutron system configuration path can not write full path such as: Http://192.168.0.206:9090/eagle, to fill into/eagle; Write full path browser will go directly to the settings address, will not be forwarded via Apache. Other related configuration items also need to be adjusted accordingly.

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.