forked from jeedom/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
141 lines (119 loc) · 2.36 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
ServerSignature Off
Options -Indexes
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
<IfModule mod_php5.c>
php_value post_max_size 1G
php_value upload_max_filesize 1G
php_value max_execution_time 600
php_flag display_startup_errors on
php_flag display_errors off
php_flag html_errors on
php_flag log_errors on
php_value error_log log/http.error
php_value memory_limit 256M
</IfModule>
<IfModule mod_php7.c>
php_value post_max_size 1G
php_value upload_max_filesize 1G
php_value max_execution_time 600
php_flag display_startup_errors on
php_flag display_errors off
php_flag html_errors on
php_flag log_errors on
php_value error_log log/http.error
php_value memory_limit 256M
#php_value xdebug.profiler_enable 1
php_value xdebug.profiler_output_name callgrind.%t.%s
php_value xdebug.profiler_output_dir /tmp
php_value xdebug.profiler_enable_trigger 1
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
<Files .htaccess>
Order Allow,Deny
Deny from all
</Files>
<Files ~ ".*\.gz$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.sql$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.ini$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.tar$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.xml$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.sh$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.sqlite$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.service$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.db$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.log$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.py$">
order allow,deny
deny from all
satisfy all
</Files>
<Files ~ ".*\.pyc$">
order allow,deny
deny from all
satisfy all
</Files>
<Files Dockerfile>
order allow,deny
deny from all
satisfy all
</Files>
<Files sick.php>
order allow,deny
deny from all
satisfy all
</Files>