VPS

ID #1083

How do I allow Apache to act as a proxy?

Apache has the ability to act as a proxy in several different forms - the most common is the reverse HTTP proxy, by which Apache receives a HTTP request and forwards it onto another server.  The other server is typically something like Tomcat or other local webserver.

All the details of configuring mod_proxy are outside the scope of this FAQ, so you should consult the authoritative docs at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html.

Your GeekISP VPS has SELinux enabled by default, and in order to setup Apache as a proxy, you'll need to allow it to execute the connect call via:

 # /usr/sbin/setsebool -P httpd_can_network_connect 1

 

Tags: -

Related entries:

Last update: 2010-03-02 11:56
Author: Dave Steinberg
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry