wip: [try to get the htaccess file to work safely... Egh

This commit is contained in:
xaseiresh 2023-06-02 09:18:26 +02:00
parent d2294d8572
commit c3ed56cb99
4 changed files with 9 additions and 5 deletions

View file

@ -1,6 +1,9 @@
RedirectMatch 404 /\.git
DirectoryIndex index.php
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule (.*) /src/$0 [END]
RewriteBase /
RewriteCond %{REQUEST_URI} !^/www.*
RewriteCond %{REQUEST_URI} !^www.*
RewriteRule (.*) /www/$0 [END]