Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I am trying to implement custom 404 error handling for requests to the PageFiles virtual folder. I have updated the location section in web.config to this:
Now, when I make a request for a file that does not exists in /PageFiles/ I get the following error:
I have unlocked the appropriate sections in applicationHost.config to allow me to override custom errors, however I am not sure what I need to unlock to resolve the lock violation caused by the wildcard handler (EPiServer.Web.StaticFileHandler).
Any info on getting this working would be most welcome, thanks.