Inserting that code causes the entire site to break.
Quote from: tkonol at Feb 28, 2010, 10:01 PM
Inserting that code causes the entire site to break.
Yes, it should. But what message to you see when it’s there and you go to a page that doesn’t exist?
When I go to a page that does not exist, I get the same 403 error as before
One last thing. It shouldn’t matter, but try that code again, in this form instead:
echo "Page Not Found -- my message";
die();
echo "Unauthorized Page -- my message";
die();
If you don’t see either of those message, I’m stumped. When MODx finds the requested page in the DB, it shows it, which clearly works for you.
If it doesn’t, it immediately executes the code in the sendErrorPage(), which clearly isn’t executing for you.
I don’t see any way that could happen if the pages you’re trying to access truly don’t exist in either install (other than a corrupted file in MODx).
No luck. Thanks for all the help though.
Sorry I couldn’t solve it for you. ...
Maybe someone else will have a better idea.
Thats fine. I really appreciate you trying
-
MODX Staff
- 10,725 Posts
This is definitely an Apache configuration error, and likely related to Allow Override settings...