Code: Select all
ErrorDocument 404 http://www.mydomain.org/index.php/error404
ErrorDocument 500 http://www.mydomain.org/index.php/error500
However, when I try to go to www.mydomain.org/bla (which doesn't exist), I just get redirected to the site's home page. Have tried this both with the "Enable Custom 404 Message" checkbox in "Site Admin > Global Settings" both ticked and un-ticked and no difference (in neither case do I get the placeholder text I put in for my "Custom 404 message" either!).
What am I doing wrong? I'm guessing there's something really silly that I've overlooked, but can't for the life of me think what it might be.
Me: CMSMS 1.5.2 on Apache 2.2.11 with PHP 5.2.5 and MySQL 5.0.51a.
You: Cleverer than me with a quick & easy solution!
(Also, out of curiosity, what other error pages might be necessary?)