Hi, first, I would like to say that I posted this message to a forum that tried to send it here, and once I realized that's what it was doing, I just joined here myself. I apologize if it then succeeds in sending it and there is a double post. Now, onto the actual code problem.
Some brief config info: I'm running the latest stable build of the 1.1 branch, and I'm running it in a subdirectory, '/practitioners'. I am running it in the development style. OK, here's my current problem. In my application, I have a custom 404 page. I've got the error404.thtml in the app/views/errors directory, it works correctly, I even have some spiffy checking that pulls variables from the url and calls the 404 page manually if it needs to, with the cakeError function. It all works as it should. What's the problem then, you ask. Well, with the way that CakePHP's 404 error stuff works by default, if the browser is pointed at http://www.mainurl/practitioners/badurl, the 404 page is generated correctly, with the correct status, but the url remains http://www.mainurl/practitioners/badurl. My client want to have one 404 page for his entire site, and have all 404 errors redirect to that page. How can I do this in CakePHP? I tried a .htaccess file for the whole site with ErrorDocument, but even when I got that to work in the root directory, it was not working with the CakePHP portion of the site. Any help would be appreciated, thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---