Add htaccess file
This commit is contained in:
parent
cb904127c0
commit
8dadf92e8a
1 changed files with 15 additions and 0 deletions
15
public/.htaccess
Normal file
15
public/.htaccess
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Rewrite rules
|
||||
<IfModule mod_rewrite.c>
|
||||
|
||||
# Enable awesome urls. i.e.: http://yourdomain.com/about-us/team
|
||||
RewriteEngine on
|
||||
|
||||
# Block files and folders beginning with a dot, such as .git except for the .well-known folder, which is used for Let's Encrypt and security.txt
|
||||
RewriteRule (^|/)\.(?!well-known\/) index.html [L]
|
||||
|
||||
# Make site links work
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*) index.html [L]
|
||||
|
||||
</IfModule>
|
Loading…
Add table
Add a link
Reference in a new issue