Tech Journal Back to Tech Journal

I'd like to have Apache act as a proxy for a webserver I have within the protected LAN...

The following will redirect all requests that are recieved by the Apache to URL /vnc/ to another server at http://192.168.1.3:24082. Please note, Apache doesn't seem to do any trasnforms on the data apart from some header editing, so make sure your server sends good data.

Edit the httpd.conf file and add this:

ProxyRequests Off

<Proxy *>

Order deny,allow
Allow from all

</Proxy>

# forward from "/vnc/"
ProxyPass /vnc/ http://192.168.1.3:24082/
ProxyPassReverse /vnc/ http://192.168.1.3:24082/

# also from "/vnc" (without trailing slash) - just convenient
ProxyPass /vnc http://192.168.1.3:24082/
ProxyPassReverse /vnc http://192.168.1.3:24082/
Last updated on 2005-01-25 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal