Specifying the top of tg2 website #135
-
Hi, I want to serve my website as : https://web.site/suburl |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use It's also mentioned in https://turbogears.readthedocs.io/en/latest/turbogears/widgets_forms.html#relocatable-widget-actions in the context of relocatable widgets, but it's generally how it works with WSGI |
Beta Was this translation helpful? Give feedback.
You can use
SCRIPT_NAME
to specify the mountpoint of a web app.The script name should usually be set somewhere in your WSGI server.
It's also mentioned in https://turbogears.readthedocs.io/en/latest/turbogears/widgets_forms.html#relocatable-widget-actions in the context of relocatable widgets, but it's generally how it works with WSGI