Hi, All!
I want to turn off error page, which creates by MODx.
Is it possible?
It is necessary that error was handled by server...
Beforehand thanx for help!
Check what the error page is set to in System Configuration under the site headings tab. You could just send this to any page to and documnet ID if there was an error. Otherwise I cannot think why you would want to turn of the system from doing something of there was an error ?
let me know if I am missing the point
I believe openagate wishes to restore the default server 404 error.
-
MODX Staff
- 12,272 Posts
Not currently possible. What types of errors do you want turned off?
404s are going to be properly handled in 0.9.2.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
MODX Staff
- 12,272 Posts
That will be properly addressed in 0.9.2.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Openagate,
The fix that Ryan refers to for the 0.9.2 release does exactly what you’re asking for. Specifically, if I request is made for a non-existent page, then the server will serve up the designated error page, but it’ll do so with a 404 status code.
If you can wait for the 0.9.2 release, it’ll be built into it by default. If you need it before then, please feel free to contact me directly and I’ll send you the files you need to change the behavior.
Victor