WKVS v 1.0.0

This commit is contained in:
Fabio Herzig
2026-07-24 21:49:40 +02:00
commit 6cb5386205
469 changed files with 76191 additions and 0 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]