Deploying on Apache server
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule !.*.html$ %{REQUEST_FILENAME}.html [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.html
<Files "*.js">
ForceType text/javascript
</Files>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule !.*.html$ %{REQUEST_FILENAME}.html [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.html
<Files "*.js">
ForceType text/javascript
</Files>
Writing good documentation that is up-to-date is difficult. If you notice a mistake, help us out.