Add .htaccess for Apache routing
This commit is contained in:
parent
d9185a8f3e
commit
f51c8b4ab7
1 changed files with 9 additions and 0 deletions
9
public/.htaccess
Normal file
9
public/.htaccess
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteBase /
|
||||||
|
RewriteRule ^index\.html$ - [L]
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-l
|
||||||
|
RewriteRule . /index.html [L]
|
||||||
|
</IfModule>
|
||||||
Loading…
Reference in a new issue