EricHolmberg wrote:
> 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
>
>
>
> >
>   
Eric:  Thanks for the great example of how to do this with mod_proxy.  
I'm having a problem getting a 403 error when I'm running with this 
configuration.  Did you run into this when you set it up?  Here is the 
error I'm receiving:
_______________________
Forbidden

You don't have permission to access /users on this server.
_______________________

Any ideas?

   -Jim

--~--~---------~--~----~------------~-------~--~----~
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