Page 1 of 1
Non-existent pages return /index.php
Posted: Mon Oct 03, 2005 8:43 pm
by martin42
Is it a config problem with my site, or does CMSMS always make
http://yoursite/non-existent.html return the content of /index.php ?
I'd prefer requests for non-existent pages to return my custom 404 page. Is this possible?
Thanks!
Re: Non-existent pages return /index.php
Posted: Tue Oct 04, 2005 9:46 am
by Ted
It's actually showing <?php etc?
FIXED: Non-existent pages return /index.php
Posted: Tue Oct 04, 2005 9:52 am
by martin42
I've explained this badly! It was executing index.php, not returning the source.
Just fixed it

It was just a config directive in the obscure webserver I use. CMSMS was not to blame!
Sorry for the confusion.
Re: Non-existent pages return /index.php
Posted: Tue Oct 04, 2005 9:54 am
by Ted

ok. That's good to hear. Thanks.