refactor: support portable PHP hosting without Docker

This commit is contained in:
Marco0300
2026-09-01 19:22:48 +02:00
parent 9f5142b071
commit 5b2c64ff39
9 changed files with 128 additions and 159 deletions
+13
View File
@@ -0,0 +1,13 @@
RewriteEngine On
RewriteBase /
# Keep real assets accessible and route application requests through the front controller.
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^ index.php [L]
# Never expose environment/config/database files through Apache.
<FilesMatch "^(\.env|.*\.(sql|log|ini))$">
Require all denied
</FilesMatch>