You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2007/06/28 00:15:44 UTC
[Httpd Wiki] Trivial Update of "Recipes/Different UserIDs Using Reverse
Proxy" by RiciLake
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by RiciLake:
http://wiki.apache.org/httpd/Recipes/Different_UserIDs_Using_Reverse_Proxy
------------------------------------------------------------------------------
RewriteMap host txt:/usr/local/etc/apache22/host_to_ip
RewriteMap tolower int:tolower
+ # Don't put the space between the }} }. I had to put it in
+ # because of Wiki formatting rules.
RewriteCond ${host:${tolower:%{HTTP_HOST}} } (.+)
RewriteRule (.*) http://%1/$1 [P]