On Jan 16, 2008 9:29 AM, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > > I'm not an apache expert - but shouldn't virtual servers and > mod_proxy/mod_rewrite take care about this? How are the apps accessed from > the outside, is there any reason why > > website_one.com/static > > gets translated to > > http://127.0.0.1:8081/static/ > > and so forth? > > Diez >
Yeah, you should be able to do something like that if you have virtual hosts set up in Apache. I think you should be able to put your ProxyPass statements inside the virtual hosts section and just point to /static, and Apache should do the rest. so something like (much abbreviated): <VirtualHost> ProxyPass /static/ http://127.0.0.1:8081/static/ </VirtualHost> <VirtualHost> ProxyPass /static/ http://127.0.0.1:8082/static/ </VirtualHost> <VirtualHost> ProxyPass /static/ http://127.0.0.1:8083/static/ </VirtualHost> Of course, I haven't tried it...but it should work. Kevin Horn --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

