mga revised this gist 9 months ago. Go to revision
1 file changed, 10 insertions
.htaccess(file created)
| @@ -0,0 +1,10 @@ | |||
| 1 | + | Options -Indexes | |
| 2 | + | DirectoryIndex index.html | |
| 3 | + | ||
| 4 | + | RewriteEngine on | |
| 5 | + | RewriteBase / | |
| 6 | + | RewriteCond %{REQUEST_FILENAME} !-f | |
| 7 | + | RewriteCond %{REQUEST_FILENAME} !-d | |
| 8 | + | RewriteRule . /index.html [L,QSA] | |
| 9 | + | ||
| 10 | + | AddType application/javascript .js .mjs | |
Newer
Older