We have two equivalent domain names
and jsMath configured via load.js for www.math.toronto.edu
and does not work (does not loads) for www.math.utoronto.ca
Is there any way *easy* way to configure to serve both (except obvious but ugly to have load2.js configured for the second domain name and loading for webpage both)?
By the obvious reason MathJax does not have such problems
If you leave the value for the root directory as an empty string in the jsMath/easy/load.js file, the same configuration file should work for both domains. That will cause jsMath to try to figure out where it was loaded from and use that as the root. This works well except in some instances with Internet Explorer if the URL where jsMath was loaded is a relative one. If it is absolute, there should be no problem.
Log in to post a comment.