Specifying the top of tg2 website #135
|
Hi, I want to serve my website as : https://web.site/suburl |
Answered by
amol-
Apr 13, 2023
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 |
0 replies
Answer selected by
amol-
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
SCRIPT_NAMEto 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