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:

           Summary: Proxy server example: here's the start of one:
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I'm trying to learn how to reverse proxy.  The documentation for mod_proxy is a
little sparse.  I'd like an example like this one (except working a bit better)
included:

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

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

# Glue Google into my /google directory
ProxyPass /google/ http://www.google.com/
ProxyPassReverse /google/ http://www.google.com/
</IfModule>
----------

Note: this example doesn't work; Google.com redirects you to a country-specific
page, completely abandoning this reverse proxy server.  Changing 'google.com' to
'google.ca' (since I'm in Canada) makes the Google page come up, but searching
for anything results in a broken link, as Google referred me to /search, not
/google/search.

PS: Some might say that this is an attempt to get help for a configuration
problem, in disguise!  Not so!  This is really an attempt to get the
documentation 'fixed', so that people can use the documentation to get help for
a configuration problem!  See?  Completely different!

PPS: The previous bug report I did was regarding the documentation of how to do
proxy ftp, for which the documentation is sparse.  As *this* bug is not about
ftp, I had to create a new bug.

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

Reply via email to