You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/04/16 01:07:55 UTC
DO NOT REPLY [Bug 19048] New: -
Proxy server example: here's the start of one:
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: bugs@httpd.apache.org
ReportedBy: ofudd@speed-test.net
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org