linux-nerd/typeAngularAMD/master/.htaccess
RewriteEngine On # If an existing asset or directory is requested go to it as it is RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d RewriteRule ^ - [L] # If the requested resource doesn't exist, use index.html # Path to index.html should be relative --- base[href]/index.html #RewriteRule ^ /index.html
Files
![DOCUMENT_ROOT, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/linux-nerd/typeAngularAMD-htaccess.png)