Default controller doesn't work on the live site? |
[eluser]SkippyFiRe[/eluser]
Hi boys and girls, I'm just diving into PHP development again, and I'm dipping into codeigniter again too. Everything is going great so far with the site I'm developing, but I hit one snag when I tried uploading everything to my hosting. The default controller doesn't work! I get the 404 page if I try and hit my base URL. Funny thing though, I can access the default controller by name: http://mywebsite.com/sub/ <- doesn't work! http://mywebsite.com/sub/Home <- works! (default controller) http://mywebsite.com/sub/SomeOtherController <- works! Weird huh? The error message in the logs says this: Quote:ERROR - 2010-01-16 17:56:31 --> 404 Page Not Found --> home Here is what I've done so far with my configuration: Set the base URL to my correct base URL (I am using a sub folder, and may change it to a subdomain eventually) Set the index_page to "" URI protocol is AUTO default controller in the routes.php file is the name of my controller Set my .htaccess as folows: Code: RewriteEngine on Any ideas??? Thanks in advance! |
Messages In This Thread |
Default controller doesn't work on the live site? - by El Forum - 01-16-2010, 05:13 PM
Default controller doesn't work on the live site? - by El Forum - 01-16-2010, 06:15 PM
Default controller doesn't work on the live site? - by El Forum - 01-17-2010, 04:27 AM
Default controller doesn't work on the live site? - by El Forum - 01-17-2010, 12:07 PM
Default controller doesn't work on the live site? - by El Forum - 01-17-2010, 12:11 PM
Default controller doesn't work on the live site? - by El Forum - 01-17-2010, 12:35 PM
Default controller doesn't work on the live site? - by El Forum - 01-17-2010, 08:02 PM
|