You might not have the mod_rewrite module enabled. In WAMP, you click on the icon, then it's Apache -> Apache modules -> rewrite_module. Make sure that is checked, and if it isn't, click it. The process will be different if you're using a different server though.