This commit is contained in:
parent
ec40158103
commit
6225cfe8f3
14
static/.htaccess
Normal file
14
static/.htaccess
Normal file
@ -0,0 +1,14 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
|
||||
RewriteRule ^200\.html$ - [L]
|
||||
|
||||
RewriteRule ^(.+)/+$ /$1 [R=301,L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME}.html -f
|
||||
RewriteRule (.+) $1.html [L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule . /200.html [L]
|
||||
</IfModule>
|
Loading…
Reference in New Issue
Block a user