How to deploy Ionic v4 Web App with Apache2?


#1

Hi all,

I performed a build : ionic cordova build browser for my Ionic v4 application, and later dump the content of the www folder into my private server. After some configuration, I was able to make it work.

This is the link.
http://demo.semnpatrick.com/

When first access the url above, it will automatically redirect to http://demo.semnpatrick.com/home, and everything still works fine. However, if you refresh the browser, it will complain URL not found.

Why is that so? Anything I’m missing out?

Thank you.