Files
iten.pro/public/.htaccess
Eduard Iten 35f152632e
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 11s
Added auth test
2026-04-01 16:15:04 +02:00

10 lines
330 B
ApacheConf

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]