Aleksander Machniak
2015-02-16 5466f71dd6d38bfecea6d11172d9b0d67a7e5083
.htaccess
@@ -10,6 +10,7 @@
php_value   post_max_size      6M
php_value   memory_limit      64M
php_flag   register_globals   Off
php_flag   zlib.output_compression      Off
php_flag   magic_quotes_gpc      Off
php_flag   magic_quotes_runtime      Off
@@ -30,7 +31,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|\.well-known\/)(\.?[^\.]+)$ - [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