I have a working turbo gears 2.2 website, deployed as a mount reverse-proxy, exp:

https://Some-Domain.com/mySite

I know how to configure the webserver to work as a mounted site, but I don't know how to do that for ToscaWidgets. Tw2 is looking for its css file in the wrong path. I can see that with Firebug.

Does anybody know how should I configure my ToscaWidgets to the right path?

Thanks

有帮助吗?

解决方案

tw2 has a script_name option. You can set that through custom_tw2_config.script_name in tg2. That should guarantee that TW2 correctly generates urls for resources in case of a proxy.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top