commit | author | age
|
ea7c46
|
1 |
# AddDefaultCharset UTF-8 |
0d1dd7
|
2 |
AddType text/x-component .htc |
ef9641
|
3 |
|
34942e
|
4 |
<IfModule mod_php5.c> |
aaa6ac
|
5 |
php_flag display_errors Off |
A |
6 |
php_flag log_errors On |
4b20e2
|
7 |
# php_value error_log logs/errors |
aaa6ac
|
8 |
|
A |
9 |
php_value upload_max_filesize 5M |
2d1a45
|
10 |
php_value post_max_size 6M |
A |
11 |
php_value memory_limit 64M |
aaa6ac
|
12 |
|
6d479a
|
13 |
php_flag zlib.output_compression Off |
A |
14 |
php_flag magic_quotes_gpc Off |
|
15 |
php_flag magic_quotes_runtime Off |
|
16 |
php_flag zend.ze1_compatibility_mode Off |
832890
|
17 |
php_flag suhosin.session.encrypt Off |
aaa6ac
|
18 |
|
29640b
|
19 |
#php_value session.cookie_path / |
5e8c77
|
20 |
php_flag session.auto_start Off |
aaa6ac
|
21 |
php_value session.gc_maxlifetime 21600 |
A |
22 |
php_value session.gc_divisor 500 |
|
23 |
php_value session.gc_probability 1 |
e86ff9
|
24 |
|
A |
25 |
# http://bugs.php.net/bug.php?id=30766 |
|
26 |
php_value mbstring.func_overload 0 |
34942e
|
27 |
</IfModule> |
4e17e6
|
28 |
|
34942e
|
29 |
<IfModule mod_rewrite.c> |
A |
30 |
RewriteEngine On |
57d15d
|
31 |
RewriteRule ^favicon\.ico$ skins/default/images/favicon.ico |
4b1d5d
|
32 |
# security rules |
82e1bd
|
33 |
RewriteRule .git/ - [F] |
4b1d5d
|
34 |
RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] |
e3f427
|
35 |
</IfModule> |
d7f49d
|
36 |
|
T |
37 |
<IfModule mod_deflate.c> |
|
38 |
SetOutputFilter DEFLATE |
|
39 |
</IfModule> |
|
40 |
|
|
41 |
<IfModule mod_headers.c> |
|
42 |
# replace 'append' with 'merge' for Apache version 2.2.9 and later |
832890
|
43 |
#Header append Cache-Control public env=!NO_CACHE |
d7f49d
|
44 |
</IfModule> |
T |
45 |
|
|
46 |
<IfModule mod_expires.c> |
|
47 |
ExpiresActive On |
|
48 |
ExpiresDefault "access plus 1 month" |
|
49 |
</IfModule> |
|
50 |
|
2f1429
|
51 |
FileETag MTime Size |
5e8c77
|
52 |
|
A |
53 |
<IfModule mod_autoindex.c> |
4b1d5d
|
54 |
Options -Indexes |
5e8c77
|
55 |
</ifModule> |