DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19048>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19048

Proxy server example: here's the start of one:





------- Additional Comments From [EMAIL PROTECTED]  2003-04-15 23:58 -------
I've built a better(?) example, for cloning google.com (.ca) into your own
directory tree:

-----------
<IfModule mod_proxy.c>
ProxyRequests Off

# Access restrictions:
<Proxy *>
  Order deny,allow
  Deny from all
  # Allow from 192.168.0
  Allow from all
</Proxy>

# ProxyPass and ProxyPassReverse - used for reverse proxy
ProxyPass /google/ http://www.google.ca/
ProxyPass /search http://www.google.ca/search
ProxyPass /nav_next.gif http://www.google.ca/nav_next.gif
ProxyPass /nav_current.gif http://www.google.ca/nav_current.gif
ProxyPass /nav_first.gif http://www.google.ca/nav_first.gif
ProxyPass /nav_page.gif http://www.google.ca/nav_page.gif
ProxyPass /nav_previous.gif http://www.google.ca/nav_previous.gif
ProxyPass /images/res0.gif http://www.google.ca/images/res0.gif
ProxyPass /images/res1.gif http://www.google.ca/images/res1.gif
ProxyPass /images/res2.gif http://www.google.ca/images/res2.gif
ProxyPass /images/res3.gif http://www.google.ca/images/res3.gif
ProxyPassReverse /google/ http://www.google.ca/


</IfModule>
-------------

This example is as good as it's going to get, as real references to full urls
will break out of this reverse proxy tree.

I'd like it (or something like it with Google changed to something that lawyers
will be happy with, if necessary) to be included in the mod_proxy documentation.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to