Confusion - routing related - 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: Confusion - routing related (/showthread.php?tid=1943) |
Confusion - routing related - El Forum - 07-06-2007 [eluser]Unknown[/eluser] Maybe I'm missing something simple, but I'm having a problem and was hoping someone could help. A general description of the problem I'm getting CodeIgniter's 404 error page no matter what On closer inspection My "logs" directory contains a file that says: Quote:DEBUG - 2007-07-06 11:00:25 --> Config Class Initialized This happens whether I go to the default directory (mapping to index), to the default controller set up in routs or to any "directory" representing a valid controller or not. The only non-standard things are that I have hooks (filters) enabled and my .htaccess file isn't as described in the documentation (I get a server config problem if I do it just as the docs say). It is set up: Code: Options FollowSymlinks But for CI to be using the CI 404, it has to be working. Any tips? Confusion - routing related - El Forum - 07-06-2007 [eluser]coolfactor[/eluser] Does accessing the url with "index.php" intact work? Is it just when you try to remove index.php from the url that this happen? I use the same approach that you do, but I also include the following condition to check existence of directories: Code: RewriteCond %{REQUEST_FILENAME} !-d Confusion - routing related - El Forum - 07-06-2007 [eluser]coolfactor[/eluser] Here's a full RewriteRule from one of my sites (same on all of my sites): Code: <IfModule mod_rewrite.c> |