This commit is contained in:
Oliver Davies 2025-10-02 07:58:12 +01:00
parent 247ff913b3
commit b96f5b114c
60 changed files with 0 additions and 0 deletions

15
old/zet/source/.htaccess Normal file
View file

@ -0,0 +1,15 @@
Options +FollowSymLinks -MultiViews
RewriteEngine on
# Remove trailing slashes from directories.
DirectorySlash Off
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule (.*) $1/index.html [L]
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Remove index.html from URLs.
RewriteCond %{THE_REQUEST} \s/+(.*/)?index\.html[\s?] [NC]
RewriteRule ^(.*)index\.html$ /$1 [L,R=301]