| | |
| | | # AddDefaultCharset UTF-8 |
| | | AddType text/x-component .htc |
| | | |
| | | <IfModule mod_php5.c> |
| | | php_flag display_errors Off |
| | | php_flag log_errors On |
| | |
| | | # security rules: |
| | | # - deny access to files not containing a dot or starting with a dot |
| | | # in all locations except installer directory |
| | | RewriteRule ^(?!installer|[a-f0-9]{16})(\.?[^\.]+)$ - [F] |
| | | RewriteRule ^(?!installer|\.well-known\/|[a-zA-Z0-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 |