CodeIgniter Forums
.htaccess - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: .htaccess (/thread-43660.html)



.htaccess - El Forum - 07-19-2011

[eluser]Perkin5[/eluser]
I am developing a site locally using WAMP (windows xp) and using an .htaccess file to remove index.php from site URLs.

If I use the code provided at http://codeigniter.com/wiki/mod_rewrite/ it doesn't work. However, if I disable the third line (discovered by trial and error):

Code:
RewriteBase /

it works fine. I don't understand htaccess coding but can anyone explain in layman's terms why that should be?