I installed MAMP on a MAC PRO.
I then successfully installed magento 2.
The Homepage works. However none of the other pages seem to work. They all returns a
Not Found The requested URL /magentotwo/customer/account/create/ was not found on this server.
I presume this might have something to do with the module-rewrite of apache etc.
i did place the following in my apache
NameVirtualHost *:80 <VirtualHost *:80> ServerName magento.com DocumentRoot /Applications/MAMP/htdocs/magentotwo </VirtualHost>
when i place an index.php after the base url it works; i.e
However, i am still not able to log into admin. so this does not work:
i am also not able to change my host address to just:
Is there something else that needs to done in MAMP/htaccess files for mamp that i am missing i am missing.
I previously used WAMP the pages worked by default.
i tried the following but it still does not work:
in my config i placed the following httpd.conf : NameVirtualHost *:80
ServerName magento.dev DocumentRoot /Applications/MAMP/htdocs/magentotwo <Directory "/Applications/MAMP/htdocs/magentotwo"> AllowOverride All Allow from all <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / </IfModule> </Directory> </VirtualHost>
i then sudo vi into my host files and changed local host i,e
sudo vi /etc/hosts
and then changed
127.0.0.1 localhost magento.dev
i then tried to access site at
but nothing appears
error message; This site can’t be reached localhost refused to connect.