After successfully installing Magento (environment below), url's to access storefront and admin show a 404/Not Found errors. What am i missing?
Environment:
- macOS Mojave 10.14.2
- Apache 2.4.37
- PHP 7.2.9
- MySQL 8.0
While installing:
- Apache is running on port
8081
- I chose the store name to be
magento
instead ofmagento2
Tried these:
- Copied
.htaccess
from/htdocs/magento2/app/pub
to/htdocs/magento2/
- Updated
httpd.conf
file toListen 8081
,ServerName localhost:8081
and enabledLoadModule rewrite_module lib/httpd/modules/mod_rewrite.so
Screenshots:
magento2
directory is/Applications/XAMPP/xamppfiles/htdocs/magento2
. While installing i chose the store name to bemagento
instead of the defaultmagento2