Semi-stable version with old variable names

This commit is contained in:
Fabio Herzig
2026-07-16 18:43:30 +02:00
parent 3731183654
commit c8e7ce9174
165 changed files with 25654 additions and 9728 deletions
+30
View File
@@ -0,0 +1,30 @@
RewriteEngine On
ErrorDocument 503 /503.html
RewriteCond %{REQUEST_URI} !^/503\.html$
RewriteRule ^(index)$ $1.php [L]
RewriteRule ^(404|503)$ $1.html [L]
# ----------------------------------------
# 1) Root → index.php
# ----------------------------------------
RewriteRule ^$ router.php [L]
# ----------------------------------------
# 2) Allow existing files
# ----------------------------------------
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ - [L]
# ----------------------------------------
# 3) Allow existing directories
# ----------------------------------------
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
# ----------------------------------------
# 4) Everything else → router.php
# ----------------------------------------
RewriteRule ^ router.php [QSA,L]