diff --git a/.htaccess b/.htaccess index 1e79fc5..294b415 100644 --- a/.htaccess +++ b/.htaccess @@ -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] diff --git a/templates/index.html b/templates/index.html index b4bf20f..50f9c93 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@