Naprawa lokalizacji - odczytu

This commit is contained in:
2026-06-10 20:31:48 +02:00
parent 04aaa6e321
commit 79a83d4d73
16 changed files with 1826 additions and 477 deletions
+17
View File
@@ -0,0 +1,17 @@
# Aplikacja gościa: świeży HTML/PHP (w app.php dynamiczne ?v= z filemtime)
<IfModule mod_headers.c>
<FilesMatch "^app\.(html|php)$">
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache"
Header set Expires "0"
</FilesMatch>
</IfModule>
# Nie serwuj app.html zamiast reguły rewrite / app.php
Options -MultiViews
# QR: app.html → app.php (gdy mod_rewrite działa; inaczej app.html robi redirect w JS)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^app\.html$ app.php [L,QSA]
</IfModule>