diff --git a/.htaccess b/.htaccess index 26fe6de..3293165 100644 --- a/.htaccess +++ b/.htaccess @@ -1,13 +1,15 @@ # -# Monstra :: php & apache settings +# This file is part of the Monstra. +# +# (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 -# Don't show directory listings for URLs which map to a directory. -Options -Indexes - # PHP 5, Apache 1 and 2. php_flag magic_quotes_gpc off @@ -15,20 +17,47 @@ Options -Indexes php_flag register_globals off - -# Setting rewrite rules. RewriteEngine on - # Update code bellow for SEO improvements - # RewriteCond %{HTTP_HOST} ^www.example.org [NC] - # RewriteRule ^(.*)$ http://example.org/$1 [R=301,L] + ## 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 Monstra + # + # 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 - - + + @@ -41,9 +41,9 @@ $('.chocolat').Chocolat({ overlayColor : '#000', - leftImg : "/public/assets/img/chocolat/left.gif", - rightImg : "/public/assets/img/chocolat/right.gif", - closeImg : "/public/assets/img/chocolat/close.gif", + leftImg : "/public/assets/img/chocolat/left.gif", + rightImg : "/public/assets/img/chocolat/right.gif", + closeImg : "/public/assets/img/chocolat/close.gif", loadingImg : "/public/assets/img/chocolat/loading.gif" }); @@ -53,7 +53,7 @@ increaseArea: '20%' }); - }); + }); @@ -65,7 +65,7 @@ -