Welcome Guest, Not a member yet? Register   Sign In
ajax redirect to exception/error pages
#5

Spot on again Dave!.

I find that
var url= "http://localhost:8080/errors/html/error_404";
window.location = url;

is working great but
var url= "http://localhost:8080/errors/html/production";
window.location = url;

Does not return back the production "generic error" page.
Makes me wonder if my 404 is actually working or failing and redirecting me to a 404 anyway!

Any tips on this one? Smile
Reply


Messages In This Thread
RE: ajax redirect to exception/error pages - by kristianlake - 06-22-2020, 10:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB