Only Default controller loads, CI 2.1.2, php 5.3.15 |
[eluser]Unknown[/eluser]
As the title say, i have a problem that only the default controller is loading, I've developed a project on CI 2.1.2 and tried to put it on a server with php 5.3.15. But no luck,, It always loads the default controller. Something important to know is that IC runs on a subfolder or Subdomain. for any more information, i have an extended post on StackOverflow.com. But due though little views i thought to ask it at the developers core of code igniter, here on ellislab! SO Reference: http://stackoverflow.com/questions/21540...-subfolder I'll provide all requested information to solve this! any idea is welcome! EDIT: Added additional information My Settings: Code: $config['uri_protocol'] = "REQUEST_URI"; Code: $config['base_url']= 'http://klanten.mywebsite.nl/'; My htaccess: Code: DirectoryIndex index.php
[eluser]noideawhattotypehere[/eluser]
what do u mean only default controller loads? what happens when you try to point to other url? (not default controller/method)
[eluser]Unknown[/eluser]
Every url i navigate to responds with the same view/code from Defaultcontroller/index For example. So if i go to mywebsite.com/CIfolder/DefaultController/index, I get Welcome to the homepage. If i go to mywebsite.com/CIfolder/Login/index i get also: Welcome to the homepage.. When it should be: Login here..
[eluser]noideawhattotypehere[/eluser]
Try this .htaccess and tell me if this helps Code: RewriteEngine on |
Welcome Guest, Not a member yet? Register Sign In |