Hi Lucas,

I tried mod_rewrite and gave up and just went for straight mod_proxy.
Maybe someone else could offer some advice here on the better way to
go.  Anyway, I ended up using mod_proxy with the following
configuration (you may have to tweak the paths for the modules
depending upon your platform):

# Enable Proxy module
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

# Turn forward proxy requests off for security reasons
ProxyRequests Off
<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>

<Location /users>
    # Make Apache serve UTF-8
    AddDefaultCharset utf-8

    # Setup a reverse proxy
    ProxyPass        http://127.0.0.1:8081/users
    ProxyPassReverse http://127.0.0.1:8081/users

    # Adjust these lines and uncomment to restart the server if it
isn't
    # already running
#    ErrorDocument 503 /cgi-bin/autostart.py
#    ErrorDocument 502 /cgi-bin/autostart.py
</Location>

-Eric



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to