Hi alls,
LivePage is working fine when I connect directly to the
twisted server.
When I put my resources behind apache, I need to define
transportRoot and jsModuleRoot, otherwise my client has
localhost'ed references.
When I connect directly, I have references like this:
http://localhost:8090/foo/bar/<HASH>/jsmodule/Nevow
For Apache, I'm trying to init the LivePage with:
jsModuleRoot= url.URL('https', FQDN, ['foo', 'bar', 'jsmodule'])
transportRoot= url.URL('https', FQDN, ['foo', 'bar'])
LivePage doesn't work. I can't guess the right urls.
Apache works as transparent proxy, so I'm wondering if I need
to specify jsRoot and transportRoot to obtain something like:
https://fqdn/foo/bar/<HASH>/jsmodule/Nevow
But... how? Any hint from Athena coders?
Finally, a stupid question.
Why LivePage build javascript references using the FQDN?
Maybe it's a better idea to build links like:
'/foo/bar/