drink-it-cold/tools/retire/.htaccess
torsten 11bb83c66c feat(legal): AGB als öffentliche Seite und Stilllegung des alten Deploys
- /agb ist ohne Anmeldung erreichbar (legal.php, views/legal.php,
  views/legal_agb.php), Verlinkung auf der Startseite und in der Sitemap.
- Stilllegung: app.retired_url zeigt nur noch einen Umzugsvermerk
  (retired_notice() in util.php, Prüfung in bootstrap.php); Bausteine in
  tools/retire/ und Anleitung in docs/stilllegung-programmschmiede.md.
2026-11-30 15:40:34 +01:00

24 lines
824 B
ApacheConf
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Stilllegung: Diese Datei liegt nur auf dem alten Test-Deploy
# (drink-it-cold.programmschmiede.de) und ersetzt dort die .htaccess.
# Jede Anfrage landet auf dem Umzugsvermerk; die Anwendung selbst ist
# nicht mehr erreichbar, insbesondere keine Anmeldung.
Options -Indexes -MultiViews
DirectoryIndex index.html
<IfModule mod_rewrite.c>
RewriteEngine On
# Assets des Vermerks (derzeit keine) dürfen direkt durch.
RewriteCond %{REQUEST_URI} !^/(index\.html|favicon\.svg|assets/)
# Alles andere – Login, Dashboard, Cron, Rechtstexte – auf den Vermerk.
RewriteRule ^ /index.html [R=302,L]
</IfModule>
# Doppelt gesichert: die Anwendung wird in diesem Verzeichnis nicht ausgeführt.
<IfModule mod_php.c>
php_flag engine off
</IfModule>
<IfModule mod_php7.c>
php_flag engine off
</IfModule>