i've decided to use mathjax in one of my web projects and i'm getting a issue that i cannot understand.
First point: i've created my own CDN website where i've istalled the 2.0 version of mathjax on some url like: "http://mathjax.example.com".
my webapplication is developed in wep.net mvc3+razor and before i've decided to create a cdn website, i was using the standard script an it was working perfectlly: <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/1.1-latest/MathJax.js"></script>
But, external CDN does not serve my client purposes, and for that reason i've to create a cdn website on the same server.
Well i've downloaded the zip file and installed on a directory served on my webserver.
my problem is that if i point the old url to the new: it does not works, and at the end i've a message on my lower left browser corner "File failed to load: /extensions/MathZoom.js"
is that necessary some configuration somewhere?
<script src="http://mathjax.example.com/MathJax.js"></script>
right? An you have placed MathJax.js, the fonts directory, the jax
directory, and the extensions directory at the top level as well, right?
> my problem is that if i point the old url to the new: it does not
> works, and at the end i've a message on my lower left browser corner
> "File failed to load: /extensions/MathZoom.js"
>
It looks like MathJax may not be determining the root directory for
the MathJax distribution properly. Can you send the actual <script>
tag that you are using to load MathJax.js?
You could add
<script>
alert(MathJax.Hub.config.root);
</script>
to your page after MathJax.js is loaded and see what it displays. It
should be "http://mathjax.example.com/MathJax.js" if you used the
<script> tag I list above.
If you can give a more complete example of a file that is failing, and
a more complete description of the directory structure of your
mathjax.example.com site, we may be able to spot the problem.
Davide