I've installed Magento and noticed that accessing
http://localhost/admin I get 404 but when accessing
http://localhost/index.php/admin I'm able to access it normaly. By 404 I mean a server error, not the Magento's NoRoute page.
Activate your wampp server's Apache rewrite module.
404 = not found. 500 = server error.
If you're getting a 404 without index.php then you need to ensure that
mod_rewrite is enabled on your server and that you have
Admin -> System -> Configuration -> General -> Web -> Search Engine Optimization -> Use Web Server Rewrites set to
After wasting a few hours, just found the solution in this post: http://stackoverflow.com/a/11436027/1239006
Run (in Ubuntu):
a2enmod rewrite service apache2 restart
And all problems will disapear!
+1 if I saved your day :D