How to Configure Mod_Proxy

Mod_proxy is the Apache module that allows the Apache web server to be used as a proxy server. The mod_proxy module allows you to create a forward or reverse proxy. A forward proxy accepts the request from the client, passes the request to the origin server and then passes the content back to the client server. A reverse proxy accepts requests as a regular web server, passes the request to an anonymous origin server then passes the content back as if the proxy was the origin server.

Instructions

    • 1

      Open the httpd.conf file in a text editor. Linux/Unix users will find this file at "/etc/httpd/httpd.conf." Windows users will find this file at "C:\Program Files\Apache Group\Apache2\conf\httpd.conf."

    • 2

      Add the lines "LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so" and "LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so" in the LoadModule directive section. This will load the appropriate mod_proxy modules. Change the path to the .so files to reflect your system.

    • 3

      Type the following lines in the main section of the configuration file:
      ProxyRequests On
      ProxyVia On
      <Proxy *>
      Order deny,allow
      Deny from all
      Allow from internal.example.com
      </Proxy>
      This will create a Forward Proxy.

    • 4

      Save and close the httpd.conf file.

    • 5

      Restart the Apache server.

Related Searches:

References

Resources

Comments

You May Also Like

  • How to Use Apache as a Proxy

    A proxy server is used to keep the server behind the proxy anonymous for security purposes and to speed up access to...

  • How to Configure Apache Reverse Proxy

    Apache httpd web server can be set up as a reverse proxy (or gateway). A reverse proxy server is configured to serve...

  • How to Configure HTTPd

    HTTPd is the web hosting daemon for Apache. The daemon is run on the web service port (normally number 80) to server...

  • How to Set Up Mod_Proxy

    Mod_proxy is an Apache module which allows users to turn their Apache web server into a full proxy server. Using mod_proxy module...

  • How to Set Up a Reverse Proxy in Apache

    A reverse proxy presents a single interface to the client, while the servers behind the proxy handle all or part of the...

  • How to Setup an Apache Reverse Proxy

    If you need to connect your Apache server to another server from which you can serve content without alerting users that the...

  • How to Use Apache Reverse Proxy to an IIS Server

    The Linux Apache web server program can be configured to communicate with the Windows IIS server application so that the Apache server...

  • How to Uninstall Apache2 on Windows XP

    Apache2 is an open source Web server that is available for the Windows operating system, as well as most other operating systems....

  • How to Set Up a Proxy

    Proxy servers are computers that let other users share an Internet connection. They are used by network administrators to funnel traffic through...

  • How to Configure Tomcat to Use a Proxy Server

    Apache Tomcat is an open-source software that uses Java Servlets and JSP to run large-scale web applications. Tomacat versions 5.5 and newer...

  • How to Limbo

    The limbo is an upbeat, inclusive dance which involves little to no technical dancing skill. Its origins are rooted in Caribbean slave...

  • How to Configure the SSL for Jetty

    Jetty is a free and open source Java application server that runs web programs written as Java Servlets within stand-alone Java programs....

  • How to Pass a Proxy

    A proxy firewall is often used by institutions that want to restrict Internet use, such as colleges or places of work. The...

  • How to Bypass Apache Firewall & Proxy

    To increase employee or student productivity, many corporations and educational institutions set Internet firewalls and proxy blocks to keep Internet users from...

  • How to Configure a Reverse Proxy

    A reverse proxy provides several useful functions for a server. These include hiding the actual server and load balancing, as well as...

  • How to Set Up the Proxy Settings for a Citrix Web Client

    The Citrix Web client is a type of online tool that gives the administrators of a server connecting a network of computers...

  • How to Filter Explicit Content in the Apache Web Server

    Running a site with user-generated content involves moderating what appears on the site to achieve consistency in its overall theme. If you...

  • Reverse Proxy Explained

    The term "proxy" covers a variety of networking devices. The function of a proxy is to perform a task on behalf of...

  • How to Use a Windows Proxy

    The setting of a proxy server controls the connection between the user's computer and the Internet. Frequently visited Web pages are stored...

Related Ads

Featured