Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

apache_proxy

Main Project - Using Apache as a Proxy Server on Redhat Linux to a cascaded proxy server

Step 1 - Install Redhat Linux on box without Apache Server

 

Step 2 - Download latest version apache from Apache.org as .tar.gz

 

Step 3 - From /usr/local/ Unzip/tar using tar xzf............

 

Step 4- Go into newly created directory and type following

  ./configure \

--prefix=/usr/local/apache \

--enable-module=proxy \

--enable-shared=proxy

 

Step 5 type make

Step 6 type make install.

Step 7 - type /usr/local/apache/bin/apachectl start to start Apache.

Step 8 Modify /usr/local/apache/conf /httpd.conf as follows:

Find # LoadModule foo_module libexec/mod_foo.so

Under that line, add another line:

LoadModule proxy_module libexec/libproxy.so

Next, search for, and uncomment, the following lines:

<IfModule mod_proxy.c>

ProxyRequests On

Use the following for cascading proxy

ProxyRemote * http://144.144.144.144:8080

 

Step 9 Finally, save httpd.conf and force Apache to use the new configuration by stopping it, and then restarting it with

the following commands:

/usr/local/apache/bin/apachectl stop

/usr/local/apache/bin/apachectl start

 
 

Further Info

Download