With some of our more complex deployments i.e. where there are several
hops from Apache server to Apache server to roller, we are having some
problems with the hostname that gets pre-pended to some roller generated
urls.
Some generated urls are always relative, which we like and some are
absolute (the absolute ones can be problematic when the server "thinks"
it is on a different hostname than the client does.). I can't fathom
the logic as to why some are absolute and some are relative. A lot of
this logic is scattered around the themes ($url.site vs.
$url.absoluteSite) and also in URLModel.
The fix we are considering is to have the urls always be relative unless
"Absolute URL to site" is set in the site settings. In that case ALL
links will be absolute with the setting used to generate the absolute url.
Does this make sense? What are we missing?
Thanks,
Rob