Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top