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 a resource via caching. There are different types of proxies that control how information is passed to and from the server behind the proxy. A content filtering proxy ensures that information coming through the proxy conforms to an "acceptable use policy." A reverse proxy can be used to accelerate SSL encryption or handle load balancing. In order to use the Apache HTTP server as a proxy, you must first load the mod_proxy module.

Instructions

    • 1

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

    • 2

      Load the "mod_proxy" modules by typing the following lines in the LoadModules directive section:
      LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
      LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
      Change the path to the .so files to reflect your file setup.

    • 3

      Add the following lines in the main configuration section of the httpd.conf file to create a forward proxy:
      ProxyRequests On
      ProxyVia On
      <Proxy *>
      Order deny,allow
      Deny from all
      Allow from internal.site.com
      </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 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 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 Use Apache Tears Energy

    Apache tears are said to have originated when the tears of grieving Apache women fell and froze after a battle with great...

  • How to Use Proxy+

    A proxy server is simply a computer that acts as a bridge between a smaller group of computers and a larger network....

  • How to Use Anonymous Proxies

    Proxy servers are designed to make communications requests on behalf of another computer. For example, when an anonymous proxy server is configured...

  • How to Use a Proxy Server to Speed Up Web Page Loading

    A proxy server allows you to view websites while blocking your own Internet protocol address. This prevents other websites from seeing your...

  • How to Create an Apache Web Server

    Apache is the most common web server on the Internet, and has held that title since its introduction in the mid-1990s. It...

  • 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 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 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 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 Use Paros Proxy

    Paros is a Java application that helps you evaluate the security of your web applications, according to ParosProxy.org. It is distributed free...

  • 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...

  • How to Use an Apache Server

    The Apache HTTP (Web) Server is designed to provide static and dynamic web pages over the Internet. The web pages are stored...

  • 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....

  • Setting Up a Web Server

    If you're interested to set up a web server to host your personal website or even share your music online, it's possible...

  • How to Use Multiple Proxy Servers

    Proxy servers add an extra layer of protection to your online privacy because websites you visit will only be able to collect...

Related Ads

Featured