문제

crosspost: https://orchard.codeplex.com/discussions/472090

Can we get the ErrorPage shape to render by a specific route like ~/Error/ErrorPage or something? 500 errors serve the Runtime Error page in my site and I'd like to redirect those via customErrors to the default ErrorPage or Orchard instead.

도움이 되었습니까?

해결책

Write a controller and create a route that points to it. From your controller action, throw an exception.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top