CodeIgniter 404 Page Not Found, but why? |
[eluser]CasperF[/eluser]
Hi, I posted a question on stackoverflow (http://stackoverflow.com/questions/3752609) and it doesn't seem to get any traction. I would like to ask the question here - maybe this is the better place. ![]() Thanks for any help. This one is really stumping me. Casper Hello I am using CodeIgniter for two applications (a public and an admin app). The important elements of the document structure are: Code: /admin The /admin/.htaccess file looks like this: Code: DirectoryIndex index.php The /admin/index.php has the following changes: Code: $system_folder = "../system"; And the /application/admin/config/routes.php contains the following: Code: $route['default_controller'] = "welcome"; When I call up the Domain/admin I get a 404 Page Not Found error. When I call up the Domain/admin/welcome everything works fine. In the debug logs I get the following error message: Code: DEBUG - 2010-09-20 16:27:34 --> Config Class Initialized Weirdly enough this setup works perfectly on my local MAMP installation (with the localdomain/admin/), but when I publish and test it on the "live" server, I just get 404 errors. Any ideas? What am I doing wrong? Thanks C. |
Messages In This Thread |
CodeIgniter 404 Page Not Found, but why? - by El Forum - 09-21-2010, 04:36 AM
CodeIgniter 404 Page Not Found, but why? - by El Forum - 09-21-2010, 09:43 AM
CodeIgniter 404 Page Not Found, but why? - by El Forum - 09-21-2010, 11:00 PM
CodeIgniter 404 Page Not Found, but why? - by El Forum - 09-22-2010, 06:52 AM
|