CodeIgniter Forums
.htaccess not working? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: .htaccess not working? (/showthread.php?tid=48474)



.htaccess not working? - El Forum - 01-17-2012

[eluser]zulubanslee[/eluser]
I was developing on a wampserver setup, but I installed linux as a guest OS using virtual box. I ported the whole thing over to the new setup and the front page loads but nothing else. I tried to do a simple login:

This does not work (404):
localhost/mysite/login

This works:
localhost/mysite/index.php/login

The .htaccess file should be deleting the index.php, but it's not working, don't know why.

Thanks for any assistance you can provide.






.htaccess not working? - El Forum - 01-17-2012

[eluser]CroNiX[/eluser]
I would compare your apache.conf files. I'd bet the one on your new box is more restrictive than the one one your dev box.
Also, post your htaccess.