source: github/.htaccess @ 69cdf7b

HEADcourier-fixdev-browser-capabilitiespdo
Last change on this file since 69cdf7b was 57d15d50, checked in by alecpl <alec@…>, 16 months ago
  • Property mode set to 100644
File size: 1.3 KB
Line 
1# AddDefaultCharset     UTF-8
2AddType text/x-component .htc
3
4<IfModule mod_php5.c>
5php_flag        display_errors  Off
6php_flag        log_errors      On
7# php_value     error_log       logs/errors
8
9php_value       upload_max_filesize     5M
10php_value       post_max_size           6M
11php_value       memory_limit            64M
12
13php_flag        zlib.output_compression         Off
14php_flag        magic_quotes_gpc                Off
15php_flag        magic_quotes_runtime            Off
16php_flag        zend.ze1_compatibility_mode     Off
17php_flag        suhosin.session.encrypt         Off
18
19#php_value      session.cookie_path             /
20php_flag        session.auto_start      Off
21php_value       session.gc_maxlifetime  21600
22php_value       session.gc_divisor      500
23php_value       session.gc_probability  1
24
25# http://bugs.php.net/bug.php?id=30766
26php_value       mbstring.func_overload  0
27</IfModule>
28
29<IfModule mod_rewrite.c>
30RewriteEngine On
31RewriteRule ^favicon\.ico$ skins/default/images/favicon.ico
32# security rules
33RewriteRule .svn/ - [F]
34RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F]
35</IfModule>
36
37<IfModule mod_deflate.c>
38SetOutputFilter DEFLATE
39</IfModule>
40
41<IfModule mod_headers.c>
42# replace 'append' with 'merge' for Apache version 2.2.9 and later
43#Header append Cache-Control public env=!NO_CACHE
44</IfModule>
45
46<IfModule mod_expires.c>
47ExpiresActive On
48ExpiresDefault "access plus 1 month"
49</IfModule>
50
51FileETag MTime Size
52
53<IfModule mod_autoindex.c>
54Options -Indexes
55</ifModule>
Note: See TracBrowser for help on using the repository browser.