Apache forward proxy and reverse proxy configuration

Source: Internet
Author: User

Apache forward proxy and reverse proxy configuration

Sample forward proxy configuration:

    1. Proxyrequests on
    2. Proxyvia on
    3.  
    4. <Proxy *>
    5. Order deny, allow
    6. Deny from all
    7. Allow from 192.168.0
    8. </Proxy>
    9. Cacheenable Disk/
    10. Cacheroot "/var/Cache/mod_proxy"

Example of reverse proxy configuration:

    1. Proxyrequests off
    2. <Proxy *>
    3. Order deny, allow
    4. Allow from all
    5. </Proxy>
    6. Proxypass/centos http://www.centos.bz
    7. Http://www.centos.bz for proxypassreverse/centos

For more information, see https://www.centos.bz/2012/08/apache-forward-reverse-proxy/.

Apache forward proxy and 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.