pretty sure this has to do with rewrite module, but i don't know enough about how .htacess and httpd to figure this out, after trying for hours. Had the same issue with WAMP and enabling rewrite module solved this there.
this is my httpd.conf (/etc/httpd/conf/)
Options Indexes FollowSymLinks MultiViews AllowOverride All # Allow open access: Require all granted
Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted
LoadModule rewrite_module modules/mod_rewrite.so
My .htaccess file has the following
Options +FollowSymLinks RewriteEngine on
File permissions set to 755; under my sql database (core_config_data) secure and unsecure base url set to http://127.0.0.1, web/url/redirect set to 0.