From beb6d959401093a70cb381b99870e5fa3ca78707 Mon Sep 17 00:00:00 2001 From: OSPanel <93676052+OSPanel@users.noreply.github.com> Date: Thu, 25 Apr 2024 21:37:33 +0300 Subject: [PATCH] Update .htaccess --- system/public_html/default/.htaccess | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/public_html/default/.htaccess b/system/public_html/default/.htaccess index f7edecd11..485a4307d 100644 --- a/system/public_html/default/.htaccess +++ b/system/public_html/default/.htaccess @@ -1,5 +1,5 @@ - DirectoryIndex index.php index.html + DirectoryIndex index.html AddDefaultCharset UTF-8 AddCharset UTF-8 .html @@ -8,9 +8,9 @@ AddCharset UTF-8 .html Header unset ETag Header always set X-Content-Type-Options "nosniff" - RewriteEngine On - +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index\.html$ RewriteCond %{REQUEST_URI} !^/apacheerror/ RewriteCond %{REQUEST_URI} !^/apacheicons/