"Diego" <[EMAIL PROTECTED]> writes: > It seems that widgets don't work out of the box when using the proxy > deployment. I have the following in my apache configuration file: > <Location /fs> > ProxyPass http://localhost:9090 > ProxyPassReverse http://localhost:9090 > </Location> > > If I don't use widgets within the Turbogears application, there is no > problem. Everything works smoothly.
They work perfectly fine. All my deployments include widgets and are behind Apache servers configured to proxy requests to my TG application. > Widgets don't work, in particular, the tabber widget doesn't work. It Widgets are stateless and are just a mean to encapsulate a bit of logic with a lot of presentation. They are mainly (X)HTML + CSS + JS code. > simply doesn't display on the web page. The error message is about not > finding the path to the widget python file. The problem is definitely > related to the proxy method and the fact that I use /fs. > > If the apache configuration file is changed to: > <Location /> > ProxyPass http://localhost:9090 > ProxyPassReverse http://localhost:9090 > </Location> > then the widgets work (after modifying the application accordingly by > no longer redirecting to /fs). Your problem doesn't look like it is with widgets but with the URL you're using. What else have you done to tell your TG app that it is not the root but it is inside some "path"? > Any suggestions how to make widgets work in my original case are well > appreciated. Configure your TG setup correctly to tell where your application really is. You'll find instructions on the archives and also at the docs / wiki. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

