Proxy pass
Jump to navigation
Jump to search
Example setup.
place in the domain specific include in httpd. uncomment this line in that domains vhost. If it isnt there backup the httpd.conf and rebuild it.
#Include "/usr/local/apache/conf/userdata/std/2/shooltz/*.conf"
now make the file.
vim /usr/local/apache/conf/userdata/std/2/shooltz/proxypass.conf
Place inside.
ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /news http://news.cleantechsandiego.org:12001/news ProxyPassReverse /news http://news.cleantechsandiego.org:12001/news <Location /confluence> Order allow,deny Allow from all </Location>