I have fully downloaded a magento 1.9.1 instance and it's DB which was running on a server into my computer and trying to get it up and running using WAMP server. everything looks fine except that I can't browse any page in both front-end and back-end unless I put /index.php/ in the URL. (if I don't, I get the 404 error)
I have tried enabling rewrite url module in WAMP,and clearing cache but that didn't help at all.
Is there anything I can do to get this fixed?
I notice I don't have the .htaccess file on my machine. Can this be the reason? If yes, do I have to place htaccess file in every single folder or just the root folder of magento?