From 63b5b798f147831d342a578203d7d22be404e17d Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 12 Mar 2018 09:53:44 +0300 Subject: [PATCH] Updates for .htaccess #2 --- .htaccess | 104 +++++++++++++++++++++++++++++------------------------- 1 file changed, 56 insertions(+), 48 deletions(-) diff --git a/.htaccess b/.htaccess index ff9c3356..33d1cb35 100755 --- a/.htaccess +++ b/.htaccess @@ -1,63 +1,71 @@ -# +## # This file is part of the Rawilum. # # (c) Romanenko Sergey / Awilum # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. -# - -# Set default charset utf-8 -AddDefaultCharset UTF-8 - -# PHP 5, Apache 1 and 2. - - php_flag magic_quotes_gpc off - php_flag magic_quotes_sybase off - php_flag register_globals off - +## - RewriteEngine on - ## Begin - Rewrite rules to block out some common exploits. - # If you experience problems on your site block out the operations listed below - # This attempts to block the most common type of exploit `attempts` to Rawilum - # - # Block out any script trying to base64_encode data within the URL. - RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] - # Block out any script that includes a