IIS7 not serving CI custom 404 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: IIS7 not serving CI custom 404 (/showthread.php?tid=46799) |
IIS7 not serving CI custom 404 - El Forum - 11-15-2011 [eluser]dangermark[/eluser] Hi all, Having a slight problem with the custom 404 pages in IIS7. Recently moved production servers to a new facility, copied over IIS7 config etc and published the website to the new box. Whole site works like a dream, apart from the custom error pages. In IIS, custom error pages are set to serve /errors/error404 - controller & method which exist and work if i navigate directly to it. If i type an incorrect address, such as www.domain.com/something, the server gives me a 404 response in the headers, but displays a blank screen. Headers: Code: GET something I created a directory and file outside of CI - /error/404.php and updated the settings in IIS and this worked fine, so this leads me to believe that it an issue with the framework, or some settings. I am wondering if anyone else has had this problem, or perhaps an idea on something I've done wrong or a setting I've missed. |