Clean URL issue |
[eluser]Unknown[/eluser]
Hi, I am a newbie to CI. I have developed an application and its working fine with the url like, http://localhost/myapp/index.php Also its working fine as below, http://localhost/myapp The same kind of url rewriting is not working for any other pages other than home page. ie http://localhost/myapp/login But other pages are working oif we give the url with index.php like, http://localhost/myapp/index.php/login I have tried so many forums and in vein. Pls someone help me in resolving this. TIA ![]()
[eluser]jblack199[/eluser]
well since you're using a .htaccess, it would help if you showed us the code in your .htaccess file. cant really help without all the facts.
[eluser]SlavomirJ[/eluser]
You should decide if you want to use rewrites or not. If you are using rewrites you need to change line in application/config/config.php from Code: $config['index_page'] = 'index.php'; to Code: $config['index_page'] = ''; and... check if you have mod_rewrite enabled in Apache |
Welcome Guest, Not a member yet? Register Sign In |