Added auth test
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 11s

This commit is contained in:
2026-04-01 16:15:04 +02:00
parent e46cd9a6b1
commit 35f152632e
2 changed files with 50 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html
RewriteEngine On
# Prüfen, ob die aufgerufene URL mit /index-test beginnt
RewriteCond %{REQUEST_URI} ^/index-test(/.*)?$
# Umleitung auf das PHP-Skript, Übergabe des originalen Pfads als Parameter
RewriteRule ^(.*)$ /auth.php?route=$1 [QSA,L]