add htaccess files

This commit is contained in:
Yisroel Baum 2025-10-29 22:36:47 +02:00
parent 0d0dabdcad
commit 262903e3cd
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 7 additions and 0 deletions

3
.htaccess Normal file
View file

@ -0,0 +1,3 @@
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]

4
public/.htaccess Normal file
View file

@ -0,0 +1,4 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]