Hi,
I am trying to deploy a test app, where the dist folder (after running ember build environment=production) lives under an ember folder. My folder structure is therefore
httpdocs/ember-v1/dist
I have an htaccess file which works fine when the app is first loaded, but breaks with an internal server error when you navigate to it initially from any other page.
Here’s the htaccess
RewriteEngine On
RewriteRule ^$ ember-v1/dist/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ember-v1/dist/$1
Other posts have addressed the issue eg Ember/ember-cli and Apache but I’m struggling with this example since I want to serve the content from the folder ember-v1/dist and not the root - I hope this isn’t going to cause a problem!