All checks were successful
Deploy Feature Branch to Test / deploy (push) Successful in 24s
- Front Controller Pattern mit public/index.php als Einstiegspunkt - Eigenes Routing (App\Core\Router) ohne externes Framework - Controller: HomeController, ImpressumController, DatenschutzController - Views mit gemeinsamem Layout (app/views/layouts/main.php) - PSR-4 Autoloading - Statische Assets nach public/ verschoben - Alte Dateien (index.php, impressum.html, datenschutz.html) geloescht - 301-Redirects fuer alte URLs - PHP 8.5 kompatibel - Apache DocumentRoot auf public/ gesetzt
16 lines
518 B
ApacheConf
16 lines
518 B
ApacheConf
# Enable rewrite engine
|
||
RewriteEngine On
|
||
|
||
# Legacy redirects (301) – must be before the catch-all
|
||
RewriteRule ^impressum\.html$ /impressum [R=301,L]
|
||
RewriteRule ^datenschutz\.html$ /datenschutz [R=301,L]
|
||
RewriteRule ^haus-schleusingen\.html$ / [R=301,L]
|
||
|
||
# Serve existing files/directories directly (css, js, images, fonts, etc.)
|
||
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
||
RewriteCond %{REQUEST_FILENAME} -d
|
||
RewriteRule ^ - [L]
|
||
|
||
# Route everything else through the front controller
|
||
RewriteRule ^(.*)$ index.php [QSA,L]
|