ligths-webapp/static/.htaccess
Andre Henriques 6225cfe8f3
Some checks failed
continuous-integration/drone/push Build is failing
add htaccess
2023-07-11 21:14:00 +01:00

15 lines
302 B
ApacheConf

<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>