Aleksander Machniak
2014-12-16 681ba6fc3c296cd6cd11050531b8f4e785141786
.htaccess
@@ -14,7 +14,6 @@
php_flag    zlib.output_compression     Off
php_flag    magic_quotes_gpc            Off
php_flag    magic_quotes_runtime        Off
php_flag    zend.ze1_compatibility_mode Off
php_flag    suhosin.session.encrypt     Off
#php_value   session.cookie_path     /
@@ -31,7 +30,7 @@
# security rules:
# - deny access to files not containing a dot or starting with a dot
#   in all locations except installer directory
RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
RewriteRule ^(?!installer|[a-f0-9]{16})(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files