URL Not Found |
[eluser]Wondering Coder[/eluser]
I was using xampp before but switch to individual setup for php-mysql. In my xampp everything works perfectly. But when I migrated my code to my new setup I can't login to my application. This is the step Code: 1. http://localhost/login - //user input username & password I traced the problem this what I found out. If I add index.php as the 1st segment(http://localhost/index.php/login/validate_credentials) in my uri I am now able to login. But what is really mess up is I can't access all my other methods without adding index.php first. So I guess my problem is my htaccess. This is my htaccess: Code: RewriteEngine on I still don't understand how the htaccess work so I can't modify it to fit my application. So can anyone help me out here.
[eluser]Wondering Coder[/eluser]
anyone? I can only think of 2 possible cause: my htaccess and my apache configuration. but if anyone else faced this problem and solved it please enlighten me. I'll accept any suggestion and violent reaction
[eluser]Wondering Coder[/eluser]
nvmind, after 3 and half hrs of googling finally solve my problem.
[eluser]soupli[/eluser]
What was the solution for this problem? Please share these solutions… that is one of the reasons why these forums are here. Thanks in advance!
[eluser]Wondering Coder[/eluser]
apache configuration. The docs in the apache didn't said to Allowoverride All twice. Spent so much time finding out the solution. Even red the thread that was posted 2007, (>.<). I thought the problem was my htaccess but it's the apache. haha. |
Welcome Guest, Not a member yet? Register Sign In |