404 page not found... - 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: 404 page not found... (/showthread.php?tid=44002) |
404 page not found... - El Forum - 08-05-2011 [eluser]Aken[/eluser] [quote author="Mirge" date="1312488518"][quote author="Aken" date="1312468552"]Yes that's the exact functionality it should have. I thought that's what you were requesting. The .htaccess says "If this URL does not contain a valid directory or file, rewrite the URL to this...". Existing files and directories will take priority. If you want your CI controllers to always take priority over any existing directories that are accessible via the same URL, just remove this part of the .htaccess: Code: RewriteCond %{REQUEST_FILENAME} !-d I'd still recommend finding an alternative to that (existing files and directories should always be higher priority in my opinion), but I suppose there may be situations where it's desired.[/quote] -d flag is for directories -f flag is for files[/quote] Yes, I established that... |