diff --git a/.htaccess b/.htaccess index 4560cd4..61d6fb9 100644 --- a/.htaccess +++ b/.htaccess @@ -1,14 +1,12 @@ -Options -Indexes -Options -MultiViews -Indexes - RewriteEngine On RewriteBase /vasek/home-update/ +DirectoryIndex ./public/index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !.css RewriteCond %{REQUEST_FILENAME} !.js -RewriteRule (.*) public/index.php?url=$1 [QSA,L] +RewriteRule (.*) ./public/index.php?url=$1 [QSA,L] RewriteCond %{HTTPS} off RewriteCond %{REQUEST_FILENAME} !api.php