muhammad riza 6 years ago
parent
commit
c79ab3d9e2
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      .htaccess

+ 7
- 0
.htaccess View File

1
+RewriteEngine On
2
+    # If an existing asset or directory is requested go to it as it is
3
+    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
4
+    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
5
+    RewriteRule ^ - [L]
6
+    # If the requested resource doesn't exist, use index.html
7
+RewriteRule ^ /index.html

Loading…
Cancel
Save