--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.
custom_tw2_config.res_prefix is the option to tell TW2 where to serve its resources,but I suppose that you are mounting the whole project in a subpath, in such case it should be handled by SCRIPT_NAME but I didn't check it is properly managed by TW2.
On Mon, Mar 23, 2015 at 9:11 AM, Luca Verardi <luca.ve...@gmail.com> wrote:
Hello everybody,
I have a question concerning how TurboGears2 handles resources.
This is my server's address:
http://root.myproject.com/myproject
External resources are instead given this address:
http://root.myproject.com/tw2/resources/myproject/public/javascript/jquery-1.11.1.min.js
How do I tell TG2 to go look in
"http://root.myproject.com/myproject/tw2/[...]" instead of
"http://root.myproject.com/tw2/[...]"?
Thanks
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.