Apache with Angular2 - 404 Not Found
<p>I have deployed an Angular2 application on an AWS server with Bitnami image.
The application is served by Apache (configured with a virtual host on port 8080) and works fine as long as I start from <code>index.html</code>. If I want to access a different page (which has been configured in the <code>RouteConfig</code>)  I get a <code>404 not found</code> error.
Here is the configuration of the virtual server:</p>

<pre><code>Listen 8080
&lt;VirtualHost _default_:8080&gt;
  DocumentRoot "/opt/bitnami/apps/MyApp"
&lt;Directory  "/opt/bitnami/apps/MyApp"&gt;
Options All
Require all granted
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
</code></pre>