From 370603e6a555b50b9320d3d55de3c639f6c23a36 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Thu, 19 Sep 2019 15:09:15 +0200 Subject: [PATCH] Htacess Fix --- .htaccess | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 116dcb1..e9d7cb7 100644 --- a/.htaccess +++ b/.htaccess @@ -4,14 +4,14 @@ Options -MultiViews -Indexes RewriteEngine On RewriteBase /vasek/home/ -RewriteCond %{REQUEST_FILENAME} !api.php -#RewriteCond %{REQUEST_FILENAME} !-f -#RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !.css RewriteCond %{REQUEST_FILENAME} !.js RewriteRule (.*) index.php?url=$1 [QSA,L] RewriteCond %{HTTPS} off +RewriteCond %{REQUEST_FILENAME} !api.php RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] AddType application/x-httpd-php .php .phtml \ No newline at end of file