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 |
34942e
|
24 |
</IfModule> |
4e17e6
|
25 |
|
34942e
|
26 |
<IfModule mod_rewrite.c> |
A |
27 |
RewriteEngine On |
aff970
|
28 |
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico |
4b1d5d
|
29 |
# security rules |
1c51d1
|
30 |
RewriteRule \.git - [F] |
3568c7
|
31 |
RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F] |
TB |
32 |
RewriteRule ^/?(SQL|bin) - [F] |
e3f427
|
33 |
</IfModule> |
d7f49d
|
34 |
|
T |
35 |
<IfModule mod_deflate.c> |
|
36 |
SetOutputFilter DEFLATE |
|
37 |
</IfModule> |
|
38 |
|
|
39 |
<IfModule mod_headers.c> |
|
40 |
# replace 'append' with 'merge' for Apache version 2.2.9 and later |
832890
|
41 |
#Header append Cache-Control public env=!NO_CACHE |
d7f49d
|
42 |
</IfModule> |
T |
43 |
|
|
44 |
<IfModule mod_expires.c> |
|
45 |
ExpiresActive On |
|
46 |
ExpiresDefault "access plus 1 month" |
|
47 |
</IfModule> |
|
48 |
|
2f1429
|
49 |
FileETag MTime Size |
5e8c77
|
50 |
|
A |
51 |
<IfModule mod_autoindex.c> |
4b1d5d
|
52 |
Options -Indexes |
5e8c77
|
53 |
</ifModule> |