default page loading on every URI |
[eluser]Unknown[/eluser]
Hi all, this is my first post. I moving to CI 2.0.0, followed the instructions by Phil Sturgeon (http://philsturgeon.co.uk/news/2010/05/u...gniter-2.0), and I don't have any errors. However every page I go to is loading my default page. I got to mysite.com and I get my default page (which is fine). But if I go to mysite.com/blog/ or mysite.com/schedule/ I still get the default page. Even if the page does not exist (mysite.com/blahblahblah/), I get the default page. I did not change anything in my application folder (other than changing Controller and Model to CI_Controller and CI_Model). My routes file and .htaccess files have not changed either. The only thing that changed were: - uploaded new system folder - added encryption key to allow sessions - change model and controller names - added profiler.php and foreign_chars.php to application/config folder Any ideas? TIA
[eluser]Rok Biderman[/eluser]
Well, there are some further changes to be made for the mod_rewrite to work properly. That could explain it. Try this and let me know if it helps. http://ellislab.com/forums/viewthread/180566/
[eluser]Unknown[/eluser]
Thank you! It turns out that I had to change Code: $config['uri_protocol'] = "AUTO"; to: Code: $config['uri_protocol'] = "REQUEST_URI"; It works now!
[eluser]Unknown[/eluser]
[quote author="asrar.ca" date="1297568655"]Thank you! It turns out that I had to change Code: $config['uri_protocol'] = "AUTO"; to: Code: $config['uri_protocol'] = "REQUEST_URI"; It works now! [/quote] And work for me ! Thanks ! |
Welcome Guest, Not a member yet? Register Sign In |