Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top