Custom 500 pages?

Custom 500 pages?

I've got a custom 500 page, e.g. if the user goes to say this url using their browser:


and foo causes a server error, then it sends back a custom error page.  

If I access the custom error page directly, e.g. http://mysite.com/500 then it renders as expected using jQueryMobile.  But if I access http://mysite.com/foo then the page gets rendered as plain text basically.

Is it possible that jQueryMobile is detecting that the response code is 500 and not 200 and therefore deciding not to render the page nicely?  

I don't get this problem with 404 pages, .e.g http://mysite.com/foobar (where foobar is non-existant) renders the same as my 404 page, http://mysite.com/404

- Alex
    • Topic Participants

    • alex