I turn my build angular project (ejected with Webpack) in server apache local in the mac OS Sierra, and I found a problem with resource file in index.html but when I turn the same build in Ubuntu project run correctly with no error.
I run the build project in the default server Apache on mac OS Sierra 10.12.4 : Result in mac OS Sierra 10.12.4 with default Apache (when I used MAMP PRO in macOS the status of loading files is 404)
When I run the same build project in Ubuntu 16.04 LTS : Result in Ubuntu 16.04 LTS with default Apache
Version used :
that's solved me:
https://medium.com/@JohnFoderaro/how-to-set-up-apache-in-macos-sierra-10-12-bca5a5dfffba the problem in my apache2 configuration not in the base href