Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.137.161.250
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
apache /
manual /
mod /
[ HOME SHELL ]
Name
Size
Permission
Action
core.html
535
B
-rw-r--r--
core.html.de
238.47
KB
-rw-r--r--
core.html.en
293.44
KB
-rw-r--r--
core.html.es
262.51
KB
-rw-r--r--
core.html.fr.utf8
324.56
KB
-rw-r--r--
core.html.ja.utf8
254.26
KB
-rw-r--r--
core.html.tr.utf8
313.84
KB
-rw-r--r--
directive-dict.html
598
B
-rw-r--r--
directive-dict.html.en
17.79
KB
-rw-r--r--
directive-dict.html.es
19.47
KB
-rw-r--r--
directive-dict.html.fr.utf8
19.11
KB
-rw-r--r--
directive-dict.html.ja.utf8
20.06
KB
-rw-r--r--
directive-dict.html.ko.euc-kr
15.65
KB
-rw-r--r--
directive-dict.html.tr.utf8
19.11
KB
-rw-r--r--
directives.html
760
B
-rw-r--r--
directives.html.de
57.67
KB
-rw-r--r--
directives.html.en
57.54
KB
-rw-r--r--
directives.html.es
57.83
KB
-rw-r--r--
directives.html.fr.utf8
57.65
KB
-rw-r--r--
directives.html.ja.utf8
57.74
KB
-rw-r--r--
directives.html.ko.euc-kr
57.39
KB
-rw-r--r--
directives.html.tr.utf8
57.57
KB
-rw-r--r--
directives.html.zh-cn.utf8
57.41
KB
-rw-r--r--
event.html
201
B
-rw-r--r--
event.html.en
28.84
KB
-rw-r--r--
event.html.fr.utf8
31.36
KB
-rw-r--r--
index.html
720
B
-rw-r--r--
index.html.de
23.21
KB
-rw-r--r--
index.html.en
22.93
KB
-rw-r--r--
index.html.es
23.49
KB
-rw-r--r--
index.html.fr.utf8
25.14
KB
-rw-r--r--
index.html.ja.utf8
24.2
KB
-rw-r--r--
index.html.ko.euc-kr
22.37
KB
-rw-r--r--
index.html.tr.utf8
23.2
KB
-rw-r--r--
index.html.zh-cn.utf8
22.81
KB
-rw-r--r--
mod_access_compat.html
322
B
-rw-r--r--
mod_access_compat.html.en
28.41
KB
-rw-r--r--
mod_access_compat.html.fr.utf8
31.22
KB
-rw-r--r--
mod_access_compat.html.ja.utf8
30.51
KB
-rw-r--r--
mod_actions.html
489
B
-rw-r--r--
mod_actions.html.de
13.78
KB
-rw-r--r--
mod_actions.html.en
12.72
KB
-rw-r--r--
mod_actions.html.fr.utf8
13.32
KB
-rw-r--r--
mod_actions.html.ja.utf8
14.43
KB
-rw-r--r--
mod_actions.html.ko.euc-kr
12.37
KB
-rw-r--r--
mod_alias.html
479
B
-rw-r--r--
mod_alias.html.en
36.82
KB
-rw-r--r--
mod_alias.html.fr.utf8
40.04
KB
-rw-r--r--
mod_alias.html.ja.utf8
28.55
KB
-rw-r--r--
mod_alias.html.ko.euc-kr
22.95
KB
-rw-r--r--
mod_alias.html.tr.utf8
39.33
KB
-rw-r--r--
mod_allowmethods.html
223
B
-rw-r--r--
mod_allowmethods.html.en
8.09
KB
-rw-r--r--
mod_allowmethods.html.fr.utf8
8.4
KB
-rw-r--r--
mod_asis.html
386
B
-rw-r--r--
mod_asis.html.en
8.9
KB
-rw-r--r--
mod_asis.html.fr.utf8
9.18
KB
-rw-r--r--
mod_asis.html.ja.utf8
9.74
KB
-rw-r--r--
mod_asis.html.ko.euc-kr
8.47
KB
-rw-r--r--
mod_auth_basic.html
410
B
-rw-r--r--
mod_auth_basic.html.en
19.57
KB
-rw-r--r--
mod_auth_basic.html.fr.utf8
21.6
KB
-rw-r--r--
mod_auth_basic.html.ja.utf8
16.32
KB
-rw-r--r--
mod_auth_basic.html.ko.euc-kr
13.84
KB
-rw-r--r--
mod_auth_digest.html
319
B
-rw-r--r--
mod_auth_digest.html.en
20.11
KB
-rw-r--r--
mod_auth_digest.html.fr.utf8
21.9
KB
-rw-r--r--
mod_auth_digest.html.ko.euc-kr
20.41
KB
-rw-r--r--
mod_auth_form.html
217
B
-rw-r--r--
mod_auth_form.html.en
50.41
KB
-rw-r--r--
mod_auth_form.html.fr.utf8
54.73
KB
-rw-r--r--
mod_authn_anon.html
410
B
-rw-r--r--
mod_authn_anon.html.en
16.5
KB
-rw-r--r--
mod_authn_anon.html.fr.utf8
17.97
KB
-rw-r--r--
mod_authn_anon.html.ja.utf8
18.47
KB
-rw-r--r--
mod_authn_anon.html.ko.euc-kr
16.05
KB
-rw-r--r--
mod_authn_core.html
219
B
-rw-r--r--
mod_authn_core.html.en
16.42
KB
-rw-r--r--
mod_authn_core.html.fr.utf8
17.58
KB
-rw-r--r--
mod_authn_dbd.html
217
B
-rw-r--r--
mod_authn_dbd.html.en
15.09
KB
-rw-r--r--
mod_authn_dbd.html.fr.utf8
16.31
KB
-rw-r--r--
mod_authn_dbm.html
406
B
-rw-r--r--
mod_authn_dbm.html.en
12.69
KB
-rw-r--r--
mod_authn_dbm.html.fr.utf8
13.59
KB
-rw-r--r--
mod_authn_dbm.html.ja.utf8
13.07
KB
-rw-r--r--
mod_authn_dbm.html.ko.euc-kr
11.09
KB
-rw-r--r--
mod_authn_file.html
410
B
-rw-r--r--
mod_authn_file.html.en
11.42
KB
-rw-r--r--
mod_authn_file.html.fr.utf8
12.21
KB
-rw-r--r--
mod_authn_file.html.ja.utf8
12.44
KB
-rw-r--r--
mod_authn_file.html.ko.euc-kr
10.54
KB
-rw-r--r--
mod_authn_socache.html
225
B
-rw-r--r--
mod_authn_socache.html.en
18.82
KB
-rw-r--r--
mod_authn_socache.html.fr.utf8
20.67
KB
-rw-r--r--
mod_authnz_fcgi.html
221
B
-rw-r--r--
mod_authnz_fcgi.html.en
26.98
KB
-rw-r--r--
mod_authnz_fcgi.html.fr.utf8
29.33
KB
-rw-r--r--
mod_authnz_ldap.html
221
B
-rw-r--r--
mod_authnz_ldap.html.en
84.3
KB
-rw-r--r--
mod_authnz_ldap.html.fr.utf8
86.91
KB
-rw-r--r--
mod_authz_core.html
219
B
-rw-r--r--
mod_authz_core.html.en
37.04
KB
-rw-r--r--
mod_authz_core.html.fr.utf8
40.05
KB
-rw-r--r--
mod_authz_dbd.html
217
B
-rw-r--r--
mod_authz_dbd.html.en
18.2
KB
-rw-r--r--
mod_authz_dbd.html.fr.utf8
19.98
KB
-rw-r--r--
mod_authz_dbm.html
313
B
-rw-r--r--
mod_authz_dbm.html.en
12.86
KB
-rw-r--r--
mod_authz_dbm.html.fr.utf8
13.75
KB
-rw-r--r--
mod_authz_dbm.html.ko.euc-kr
10.39
KB
-rw-r--r--
mod_authz_groupfile.html
430
B
-rw-r--r--
mod_authz_groupfile.html.en
10.4
KB
-rw-r--r--
mod_authz_groupfile.html.fr.ut...
10.93
KB
-rw-r--r--
mod_authz_groupfile.html.ja.ut...
9.9
KB
-rw-r--r--
mod_authz_groupfile.html.ko.eu...
8.8
KB
-rw-r--r--
mod_authz_host.html
219
B
-rw-r--r--
mod_authz_host.html.en
13.39
KB
-rw-r--r--
mod_authz_host.html.fr.utf8
14.35
KB
-rw-r--r--
mod_authz_owner.html
414
B
-rw-r--r--
mod_authz_owner.html.en
11.29
KB
-rw-r--r--
mod_authz_owner.html.fr.utf8
11.92
KB
-rw-r--r--
mod_authz_owner.html.ja.utf8
12.93
KB
-rw-r--r--
mod_authz_owner.html.ko.euc-kr
11.1
KB
-rw-r--r--
mod_authz_user.html
410
B
-rw-r--r--
mod_authz_user.html.en
8.11
KB
-rw-r--r--
mod_authz_user.html.fr.utf8
8.37
KB
-rw-r--r--
mod_authz_user.html.ja.utf8
7.39
KB
-rw-r--r--
mod_authz_user.html.ko.euc-kr
6.85
KB
-rw-r--r--
mod_autoindex.html
499
B
-rw-r--r--
mod_autoindex.html.en
60.78
KB
-rw-r--r--
mod_autoindex.html.fr.utf8
67.28
KB
-rw-r--r--
mod_autoindex.html.ja.utf8
64.92
KB
-rw-r--r--
mod_autoindex.html.ko.euc-kr
50.19
KB
-rw-r--r--
mod_autoindex.html.tr.utf8
66.14
KB
-rw-r--r--
mod_brotli.html
211
B
-rw-r--r--
mod_brotli.html.en
21.14
KB
-rw-r--r--
mod_brotli.html.fr.utf8
22.5
KB
-rw-r--r--
mod_buffer.html
211
B
-rw-r--r--
mod_buffer.html.en
9.06
KB
-rw-r--r--
mod_buffer.html.fr.utf8
9.57
KB
-rw-r--r--
mod_cache.html
390
B
-rw-r--r--
mod_cache.html.en
68.08
KB
-rw-r--r--
mod_cache.html.fr.utf8
74.14
KB
-rw-r--r--
mod_cache.html.ja.utf8
52.35
KB
-rw-r--r--
mod_cache.html.ko.euc-kr
38.51
KB
-rw-r--r--
mod_cache_disk.html
410
B
-rw-r--r--
mod_cache_disk.html.en
20.1
KB
-rw-r--r--
mod_cache_disk.html.fr.utf8
21.26
KB
-rw-r--r--
mod_cache_disk.html.ja.utf8
18.36
KB
-rw-r--r--
mod_cache_disk.html.ko.euc-kr
15.72
KB
-rw-r--r--
mod_cache_socache.html
225
B
-rw-r--r--
mod_cache_socache.html.en
18.28
KB
-rw-r--r--
mod_cache_socache.html.fr.utf8
19.06
KB
-rw-r--r--
mod_cern_meta.html
313
B
-rw-r--r--
mod_cern_meta.html.en
11
KB
-rw-r--r--
mod_cern_meta.html.fr.utf8
11.56
KB
-rw-r--r--
mod_cern_meta.html.ko.euc-kr
10.54
KB
-rw-r--r--
mod_cgi.html
382
B
-rw-r--r--
mod_cgi.html.en
18.42
KB
-rw-r--r--
mod_cgi.html.fr.utf8
20.06
KB
-rw-r--r--
mod_cgi.html.ja.utf8
19.72
KB
-rw-r--r--
mod_cgi.html.ko.euc-kr
16.31
KB
-rw-r--r--
mod_cgid.html
386
B
-rw-r--r--
mod_cgid.html.en
11.56
KB
-rw-r--r--
mod_cgid.html.fr.utf8
12.15
KB
-rw-r--r--
mod_cgid.html.ja.utf8
12.2
KB
-rw-r--r--
mod_cgid.html.ko.euc-kr
10.7
KB
-rw-r--r--
mod_charset_lite.html
322
B
-rw-r--r--
mod_charset_lite.html.en
15.35
KB
-rw-r--r--
mod_charset_lite.html.fr.utf8
16.54
KB
-rw-r--r--
mod_charset_lite.html.ko.euc-k...
14.28
KB
-rw-r--r--
mod_data.html
207
B
-rw-r--r--
mod_data.html.en
7.49
KB
-rw-r--r--
mod_data.html.fr.utf8
7.68
KB
-rw-r--r--
mod_dav.html
382
B
-rw-r--r--
mod_dav.html.en
17.91
KB
-rw-r--r--
mod_dav.html.fr.utf8
19.45
KB
-rw-r--r--
mod_dav.html.ja.utf8
20.66
KB
-rw-r--r--
mod_dav.html.ko.euc-kr
17.71
KB
-rw-r--r--
mod_dav_fs.html
394
B
-rw-r--r--
mod_dav_fs.html.en
10.75
KB
-rw-r--r--
mod_dav_fs.html.fr.utf8
11.4
KB
-rw-r--r--
mod_dav_fs.html.ja.utf8
10.6
KB
-rw-r--r--
mod_dav_fs.html.ko.euc-kr
10.17
KB
-rw-r--r--
mod_dav_lock.html
307
B
-rw-r--r--
mod_dav_lock.html.en
9.76
KB
-rw-r--r--
mod_dav_lock.html.fr.utf8
10.32
KB
-rw-r--r--
mod_dav_lock.html.ja.utf8
10.51
KB
-rw-r--r--
mod_dbd.html
205
B
-rw-r--r--
mod_dbd.html.en
24.71
KB
-rw-r--r--
mod_dbd.html.fr.utf8
26.94
KB
-rw-r--r--
mod_deflate.html
398
B
-rw-r--r--
mod_deflate.html.en
28.35
KB
-rw-r--r--
mod_deflate.html.fr.utf8
30.4
KB
-rw-r--r--
mod_deflate.html.ja.utf8
31.06
KB
-rw-r--r--
mod_deflate.html.ko.euc-kr
26.17
KB
-rw-r--r--
mod_dialup.html
211
B
-rw-r--r--
mod_dialup.html.en
7.49
KB
-rw-r--r--
mod_dialup.html.fr.utf8
7.81
KB
-rw-r--r--
mod_dir.html
469
B
-rw-r--r--
mod_dir.html.en
22.39
KB
-rw-r--r--
mod_dir.html.fr.utf8
24.43
KB
-rw-r--r--
mod_dir.html.ja.utf8
19.66
KB
-rw-r--r--
mod_dir.html.ko.euc-kr
16.53
KB
-rw-r--r--
mod_dir.html.tr.utf8
23.66
KB
-rw-r--r--
mod_dumpio.html
301
B
-rw-r--r--
mod_dumpio.html.en
9.62
KB
-rw-r--r--
mod_dumpio.html.fr.utf8
9.99
KB
-rw-r--r--
mod_dumpio.html.ja.utf8
10.32
KB
-rw-r--r--
mod_echo.html
386
B
-rw-r--r--
mod_echo.html.en
7.44
KB
-rw-r--r--
mod_echo.html.fr.utf8
7.58
KB
-rw-r--r--
mod_echo.html.ja.utf8
7.88
KB
-rw-r--r--
mod_echo.html.ko.euc-kr
7.55
KB
-rw-r--r--
mod_env.html
469
B
-rw-r--r--
mod_env.html.en
11.6
KB
-rw-r--r--
mod_env.html.fr.utf8
12.08
KB
-rw-r--r--
mod_env.html.ja.utf8
11.07
KB
-rw-r--r--
mod_env.html.ko.euc-kr
9.9
KB
-rw-r--r--
mod_env.html.tr.utf8
11.72
KB
-rw-r--r--
mod_example_hooks.html
325
B
-rw-r--r--
mod_example_hooks.html.en
11.2
KB
-rw-r--r--
mod_example_hooks.html.fr.utf8
11.9
KB
-rw-r--r--
mod_example_hooks.html.ko.euc-...
10.76
KB
-rw-r--r--
mod_expires.html
398
B
-rw-r--r--
mod_expires.html.en
16.71
KB
-rw-r--r--
mod_expires.html.fr.utf8
17.81
KB
-rw-r--r--
mod_expires.html.ja.utf8
18.29
KB
-rw-r--r--
mod_expires.html.ko.euc-kr
15.08
KB
-rw-r--r--
mod_ext_filter.html
410
B
-rw-r--r--
mod_ext_filter.html.en
18.22
KB
-rw-r--r--
mod_ext_filter.html.fr.utf8
19.71
KB
-rw-r--r--
mod_ext_filter.html.ja.utf8
22.86
KB
-rw-r--r--
mod_ext_filter.html.ko.euc-kr
18.94
KB
-rw-r--r--
mod_file_cache.html
316
B
-rw-r--r--
mod_file_cache.html.en
15.4
KB
-rw-r--r--
mod_file_cache.html.fr.utf8
17.64
KB
-rw-r--r--
mod_file_cache.html.ko.euc-kr
14.45
KB
-rw-r--r--
mod_filter.html
211
B
-rw-r--r--
mod_filter.html.en
31.22
KB
-rw-r--r--
mod_filter.html.fr.utf8
34.81
KB
-rw-r--r--
mod_headers.html
398
B
-rw-r--r--
mod_headers.html.en
33.85
KB
-rw-r--r--
mod_headers.html.fr.utf8
37.21
KB
-rw-r--r--
mod_headers.html.ja.utf8
25.01
KB
-rw-r--r--
mod_headers.html.ko.euc-kr
19.54
KB
-rw-r--r--
mod_heartbeat.html
217
B
-rw-r--r--
mod_heartbeat.html.en
9.55
KB
-rw-r--r--
mod_heartbeat.html.fr.utf8
9.8
KB
-rw-r--r--
mod_heartmonitor.html
223
B
-rw-r--r--
mod_heartmonitor.html.en
12.12
KB
-rw-r--r--
mod_heartmonitor.html.fr.utf8
12.65
KB
-rw-r--r--
mod_http2.html
209
B
-rw-r--r--
mod_http2.html.en
62.64
KB
-rw-r--r--
mod_http2.html.fr.utf8
66.38
KB
-rw-r--r--
mod_ident.html
390
B
-rw-r--r--
mod_ident.html.en
9.94
KB
-rw-r--r--
mod_ident.html.fr.utf8
10.45
KB
-rw-r--r--
mod_ident.html.ja.utf8
10.88
KB
-rw-r--r--
mod_ident.html.ko.euc-kr
9.47
KB
-rw-r--r--
mod_imagemap.html
310
B
-rw-r--r--
mod_imagemap.html.en
21.22
KB
-rw-r--r--
mod_imagemap.html.fr.utf8
23.4
KB
-rw-r--r--
mod_imagemap.html.ko.euc-kr
19.77
KB
-rw-r--r--
mod_include.html
304
B
-rw-r--r--
mod_include.html.en
59.85
KB
-rw-r--r--
mod_include.html.fr.utf8
65.42
KB
-rw-r--r--
mod_include.html.ja.utf8
55.34
KB
-rw-r--r--
mod_info.html
386
B
-rw-r--r--
mod_info.html.en
14.6
KB
-rw-r--r--
mod_info.html.fr.utf8
15.53
KB
-rw-r--r--
mod_info.html.ja.utf8
15.12
KB
-rw-r--r--
mod_info.html.ko.euc-kr
12.6
KB
-rw-r--r--
mod_isapi.html
301
B
-rw-r--r--
mod_isapi.html.en
23.44
KB
-rw-r--r--
mod_isapi.html.fr.utf8
25.48
KB
-rw-r--r--
mod_isapi.html.ko.euc-kr
21.62
KB
-rw-r--r--
mod_lbmethod_bybusyness.html
237
B
-rw-r--r--
mod_lbmethod_bybusyness.html.e...
7.85
KB
-rw-r--r--
mod_lbmethod_bybusyness.html.f...
8.25
KB
-rw-r--r--
mod_lbmethod_byrequests.html
237
B
-rw-r--r--
mod_lbmethod_byrequests.html.e...
12.55
KB
-rw-r--r--
mod_lbmethod_byrequests.html.f...
13.08
KB
-rw-r--r--
mod_lbmethod_bytraffic.html
235
B
-rw-r--r--
mod_lbmethod_bytraffic.html.en
8.2
KB
-rw-r--r--
mod_lbmethod_bytraffic.html.fr...
8.6
KB
-rw-r--r--
mod_lbmethod_heartbeat.html
235
B
-rw-r--r--
mod_lbmethod_heartbeat.html.en
8.29
KB
-rw-r--r--
mod_lbmethod_heartbeat.html.fr...
8.65
KB
-rw-r--r--
mod_ldap.html
207
B
-rw-r--r--
mod_ldap.html.en
52.54
KB
-rw-r--r--
mod_ldap.html.fr.utf8
57.83
KB
-rw-r--r--
mod_log_config.html
504
B
-rw-r--r--
mod_log_config.html.en
35.48
KB
-rw-r--r--
mod_log_config.html.fr.utf8
37.95
KB
-rw-r--r--
mod_log_config.html.ja.utf8
33.81
KB
-rw-r--r--
mod_log_config.html.ko.euc-kr
25.54
KB
-rw-r--r--
mod_log_config.html.tr.utf8
37.34
KB
-rw-r--r--
mod_log_debug.html
217
B
-rw-r--r--
mod_log_debug.html.en
10.17
KB
-rw-r--r--
mod_log_debug.html.fr.utf8
10.76
KB
-rw-r--r--
mod_log_forensic.html
415
B
-rw-r--r--
mod_log_forensic.html.en
12.76
KB
-rw-r--r--
mod_log_forensic.html.fr.utf8
14.38
KB
-rw-r--r--
mod_log_forensic.html.ja.utf8
14.2
KB
-rw-r--r--
mod_log_forensic.html.tr.utf8
13.26
KB
-rw-r--r--
mod_logio.html
479
B
-rw-r--r--
mod_logio.html.en
10.38
KB
-rw-r--r--
mod_logio.html.fr.utf8
11.02
KB
-rw-r--r--
mod_logio.html.ja.utf8
10.25
KB
-rw-r--r--
mod_logio.html.ko.euc-kr
9.23
KB
-rw-r--r--
mod_logio.html.tr.utf8
10.61
KB
-rw-r--r--
mod_lua.html
205
B
-rw-r--r--
mod_lua.html.en
91.74
KB
-rw-r--r--
mod_lua.html.fr.utf8
101.5
KB
-rw-r--r--
mod_macro.html
209
B
-rw-r--r--
mod_macro.html.en
15.14
KB
-rw-r--r--
mod_macro.html.fr.utf8
16.11
KB
-rw-r--r--
mod_md.html
203
B
-rw-r--r--
mod_md.html.en
95.75
KB
-rw-r--r--
mod_md.html.fr.utf8
103.21
KB
-rw-r--r--
mod_mime.html
295
B
-rw-r--r--
mod_mime.html.en
64.63
KB
-rw-r--r--
mod_mime.html.fr.utf8
70.52
KB
-rw-r--r--
mod_mime.html.ja.utf8
70.58
KB
-rw-r--r--
mod_mime_magic.html
219
B
-rw-r--r--
mod_mime_magic.html.en
16.67
KB
-rw-r--r--
mod_mime_magic.html.fr.utf8
17.74
KB
-rw-r--r--
mod_negotiation.html
316
B
-rw-r--r--
mod_negotiation.html.en
21.36
KB
-rw-r--r--
mod_negotiation.html.fr.utf8
23.09
KB
-rw-r--r--
mod_negotiation.html.ja.utf8
22.53
KB
-rw-r--r--
mod_nw_ssl.html
211
B
-rw-r--r--
mod_nw_ssl.html.en
9.5
KB
-rw-r--r--
mod_nw_ssl.html.fr.utf8
9.8
KB
-rw-r--r--
mod_privileges.html
219
B
-rw-r--r--
mod_privileges.html.en
29.36
KB
-rw-r--r--
mod_privileges.html.fr.utf8
32.73
KB
-rw-r--r--
mod_proxy.html
298
B
-rw-r--r--
mod_proxy.html.en
130.78
KB
-rw-r--r--
mod_proxy.html.fr.utf8
147.41
KB
-rw-r--r--
mod_proxy.html.ja.utf8
92.16
KB
-rw-r--r--
mod_proxy_ajp.html
310
B
-rw-r--r--
mod_proxy_ajp.html.en
32.1
KB
-rw-r--r--
mod_proxy_ajp.html.fr.utf8
35.22
KB
-rw-r--r--
mod_proxy_ajp.html.ja.utf8
32.25
KB
-rw-r--r--
mod_proxy_balancer.html
325
B
-rw-r--r--
mod_proxy_balancer.html.en
22.97
KB
-rw-r--r--
mod_proxy_balancer.html.fr.utf...
25.71
KB
-rw-r--r--
mod_proxy_balancer.html.ja.utf...
18.82
KB
-rw-r--r--
mod_proxy_connect.html
322
B
-rw-r--r--
mod_proxy_connect.html.en
10.05
KB
-rw-r--r--
mod_proxy_connect.html.fr.utf8
10.56
KB
-rw-r--r--
mod_proxy_connect.html.ja.utf8
9.2
KB
-rw-r--r--
mod_proxy_express.html
225
B
-rw-r--r--
mod_proxy_express.html.en
13.41
KB
-rw-r--r--
mod_proxy_express.html.fr.utf8
14.08
KB
-rw-r--r--
mod_proxy_fcgi.html
219
B
-rw-r--r--
mod_proxy_fcgi.html.en
22.3
KB
-rw-r--r--
mod_proxy_fcgi.html.fr.utf8
24.51
KB
-rw-r--r--
mod_proxy_fdpass.html
223
B
-rw-r--r--
mod_proxy_fdpass.html.en
7.49
KB
-rw-r--r--
mod_proxy_fdpass.html.fr.utf8
7.72
KB
-rw-r--r--
mod_proxy_ftp.html
217
B
-rw-r--r--
mod_proxy_ftp.html.en
18.35
KB
-rw-r--r--
mod_proxy_ftp.html.fr.utf8
20.33
KB
-rw-r--r--
mod_proxy_hcheck.html
223
B
-rw-r--r--
mod_proxy_hcheck.html.en
17.56
KB
-rw-r--r--
mod_proxy_hcheck.html.fr.utf8
18.75
KB
-rw-r--r--
mod_proxy_html.html
219
B
-rw-r--r--
mod_proxy_html.html.en
33.61
KB
-rw-r--r--
mod_proxy_html.html.fr.utf8
38.34
KB
-rw-r--r--
mod_proxy_http.html
219
B
-rw-r--r--
mod_proxy_http.html.en
11.82
KB
-rw-r--r--
mod_proxy_http.html.fr.utf8
12.7
KB
-rw-r--r--
mod_proxy_http2.html
221
B
-rw-r--r--
mod_proxy_http2.html.en
10.25
KB
-rw-r--r--
mod_proxy_http2.html.fr.utf8
10.81
KB
-rw-r--r--
mod_proxy_scgi.html
219
B
-rw-r--r--
mod_proxy_scgi.html.en
14.63
KB
-rw-r--r--
mod_proxy_scgi.html.fr.utf8
15.59
KB
-rw-r--r--
mod_proxy_uwsgi.html
221
B
-rw-r--r--
mod_proxy_uwsgi.html.en
8.4
KB
-rw-r--r--
mod_proxy_uwsgi.html.fr.utf8
8.7
KB
-rw-r--r--
mod_proxy_wstunnel.html
227
B
-rw-r--r--
mod_proxy_wstunnel.html.en
11.01
KB
-rw-r--r--
mod_proxy_wstunnel.html.fr.utf...
11.62
KB
-rw-r--r--
mod_ratelimit.html
217
B
-rw-r--r--
mod_ratelimit.html.en
7.05
KB
-rw-r--r--
mod_ratelimit.html.fr.utf8
7.38
KB
-rw-r--r--
mod_reflector.html
217
B
-rw-r--r--
mod_reflector.html.en
8.53
KB
-rw-r--r--
mod_reflector.html.fr.utf8
8.87
KB
-rw-r--r--
mod_remoteip.html
215
B
-rw-r--r--
mod_remoteip.html.en
26.61
KB
-rw-r--r--
mod_remoteip.html.fr.utf8
29.21
KB
-rw-r--r--
mod_reqtimeout.html
219
B
-rw-r--r--
mod_reqtimeout.html.en
12.75
KB
-rw-r--r--
mod_reqtimeout.html.fr.utf8
13.64
KB
-rw-r--r--
mod_request.html
304
B
-rw-r--r--
mod_request.html.en
9.31
KB
-rw-r--r--
mod_request.html.fr.utf8
9.91
KB
-rw-r--r--
mod_request.html.tr.utf8
9.69
KB
-rw-r--r--
mod_rewrite.html
213
B
-rw-r--r--
mod_rewrite.html.en
78.02
KB
-rw-r--r--
mod_rewrite.html.fr.utf8
84.61
KB
-rw-r--r--
mod_sed.html
205
B
-rw-r--r--
mod_sed.html.en
11.67
KB
-rw-r--r--
mod_sed.html.fr.utf8
12.21
KB
-rw-r--r--
mod_session.html
213
B
-rw-r--r--
mod_session.html.en
34.94
KB
-rw-r--r--
mod_session.html.fr.utf8
38.05
KB
-rw-r--r--
mod_session_cookie.html
227
B
-rw-r--r--
mod_session_cookie.html.en
13.71
KB
-rw-r--r--
mod_session_cookie.html.fr.utf...
14.46
KB
-rw-r--r--
mod_session_crypto.html
227
B
-rw-r--r--
mod_session_crypto.html.en
17.87
KB
-rw-r--r--
mod_session_crypto.html.fr.utf...
19.28
KB
-rw-r--r--
mod_session_dbd.html
221
B
-rw-r--r--
mod_session_dbd.html.en
25.07
KB
-rw-r--r--
mod_session_dbd.html.fr.utf8
26.96
KB
-rw-r--r--
mod_setenvif.html
494
B
-rw-r--r--
mod_setenvif.html.en
21.34
KB
-rw-r--r--
mod_setenvif.html.fr.utf8
23.04
KB
-rw-r--r--
mod_setenvif.html.ja.utf8
21.65
KB
-rw-r--r--
mod_setenvif.html.ko.euc-kr
17.41
KB
-rw-r--r--
mod_setenvif.html.tr.utf8
22.17
KB
-rw-r--r--
mod_slotmem_plain.html
225
B
-rw-r--r--
mod_slotmem_plain.html.en
8.1
KB
-rw-r--r--
mod_slotmem_plain.html.fr.utf8
8.45
KB
-rw-r--r--
mod_slotmem_shm.html
221
B
-rw-r--r--
mod_slotmem_shm.html.en
8.7
KB
-rw-r--r--
mod_slotmem_shm.html.fr.utf8
9.1
KB
-rw-r--r--
mod_so.html
464
B
-rw-r--r--
mod_so.html.en
13.66
KB
-rw-r--r--
mod_so.html.fr.utf8
15.09
KB
-rw-r--r--
mod_so.html.ja.utf8
16.29
KB
-rw-r--r--
mod_so.html.ko.euc-kr
12.39
KB
-rw-r--r--
mod_so.html.tr.utf8
15.01
KB
-rw-r--r--
mod_socache_dbm.html
221
B
-rw-r--r--
mod_socache_dbm.html.en
6.16
KB
-rw-r--r--
mod_socache_dbm.html.fr.utf8
6.29
KB
-rw-r--r--
mod_socache_dc.html
219
B
-rw-r--r--
mod_socache_dc.html.en
6.21
KB
-rw-r--r--
mod_socache_dc.html.fr.utf8
6.34
KB
-rw-r--r--
mod_socache_memcache.html
231
B
-rw-r--r--
mod_socache_memcache.html.en
8.65
KB
-rw-r--r--
mod_socache_memcache.html.fr.u...
9.16
KB
-rw-r--r--
mod_socache_redis.html
225
B
-rw-r--r--
mod_socache_redis.html.en
10.27
KB
-rw-r--r--
mod_socache_redis.html.fr.utf8
10.94
KB
-rw-r--r--
mod_socache_shmcb.html
225
B
-rw-r--r--
mod_socache_shmcb.html.en
6.24
KB
-rw-r--r--
mod_socache_shmcb.html.fr.utf8
6.38
KB
-rw-r--r--
mod_speling.html
398
B
-rw-r--r--
mod_speling.html.en
12.86
KB
-rw-r--r--
mod_speling.html.fr.utf8
13.57
KB
-rw-r--r--
mod_speling.html.ja.utf8
14.53
KB
-rw-r--r--
mod_speling.html.ko.euc-kr
11.75
KB
-rw-r--r--
mod_ssl.html
205
B
-rw-r--r--
mod_ssl.html.en
188.2
KB
-rw-r--r--
mod_ssl.html.fr.utf8
207.15
KB
-rw-r--r--
mod_status.html
484
B
-rw-r--r--
mod_status.html.en
11.93
KB
-rw-r--r--
mod_status.html.fr.utf8
12.82
KB
-rw-r--r--
mod_status.html.ja.utf8
11.42
KB
-rw-r--r--
mod_status.html.ko.euc-kr
9.55
KB
-rw-r--r--
mod_status.html.tr.utf8
12.64
KB
-rw-r--r--
mod_substitute.html
219
B
-rw-r--r--
mod_substitute.html.en
14.62
KB
-rw-r--r--
mod_substitute.html.fr.utf8
15.55
KB
-rw-r--r--
mod_suexec.html
484
B
-rw-r--r--
mod_suexec.html.en
8.11
KB
-rw-r--r--
mod_suexec.html.fr.utf8
8.37
KB
-rw-r--r--
mod_suexec.html.ja.utf8
8.93
KB
-rw-r--r--
mod_suexec.html.ko.euc-kr
8.07
KB
-rw-r--r--
mod_suexec.html.tr.utf8
8.32
KB
-rw-r--r--
mod_systemd.html
213
B
-rw-r--r--
mod_systemd.html.en
7.9
KB
-rw-r--r--
mod_systemd.html.fr.utf8
8.11
KB
-rw-r--r--
mod_tls.html
118
B
-rw-r--r--
mod_tls.html.en
42.32
KB
-rw-r--r--
mod_unique_id.html
406
B
-rw-r--r--
mod_unique_id.html.en
15.14
KB
-rw-r--r--
mod_unique_id.html.fr.utf8
17.4
KB
-rw-r--r--
mod_unique_id.html.ja.utf8
18.45
KB
-rw-r--r--
mod_unique_id.html.ko.euc-kr
13.09
KB
-rw-r--r--
mod_unixd.html
298
B
-rw-r--r--
mod_unixd.html.en
13.64
KB
-rw-r--r--
mod_unixd.html.fr.utf8
14.69
KB
-rw-r--r--
mod_unixd.html.tr.utf8
14.34
KB
-rw-r--r--
mod_userdir.html
489
B
-rw-r--r--
mod_userdir.html.en
12.57
KB
-rw-r--r--
mod_userdir.html.fr.utf8
13.71
KB
-rw-r--r--
mod_userdir.html.ja.utf8
13.08
KB
-rw-r--r--
mod_userdir.html.ko.euc-kr
10.79
KB
-rw-r--r--
mod_userdir.html.tr.utf8
13.22
KB
-rw-r--r--
mod_usertrack.html
217
B
-rw-r--r--
mod_usertrack.html.en
19.68
KB
-rw-r--r--
mod_usertrack.html.fr.utf8
20.92
KB
-rw-r--r--
mod_version.html
398
B
-rw-r--r--
mod_version.html.en
10.33
KB
-rw-r--r--
mod_version.html.fr.utf8
10.95
KB
-rw-r--r--
mod_version.html.ja.utf8
10.88
KB
-rw-r--r--
mod_version.html.ko.euc-kr
10.28
KB
-rw-r--r--
mod_vhost_alias.html
316
B
-rw-r--r--
mod_vhost_alias.html.en
20.98
KB
-rw-r--r--
mod_vhost_alias.html.fr.utf8
22.28
KB
-rw-r--r--
mod_vhost_alias.html.tr.utf8
21.5
KB
-rw-r--r--
mod_watchdog.html
215
B
-rw-r--r--
mod_watchdog.html.en
8.03
KB
-rw-r--r--
mod_watchdog.html.fr.utf8
8.31
KB
-rw-r--r--
mod_xml2enc.html
213
B
-rw-r--r--
mod_xml2enc.html.en
15.28
KB
-rw-r--r--
mod_xml2enc.html.fr.utf8
16.78
KB
-rw-r--r--
module-dict.html
489
B
-rw-r--r--
module-dict.html.en
9.22
KB
-rw-r--r--
module-dict.html.fr.utf8
9.48
KB
-rw-r--r--
module-dict.html.ja.utf8
10.29
KB
-rw-r--r--
module-dict.html.ko.euc-kr
8.49
KB
-rw-r--r--
module-dict.html.tr.utf8
9.43
KB
-rw-r--r--
mpm_common.html
481
B
-rw-r--r--
mpm_common.html.de
62.97
KB
-rw-r--r--
mpm_common.html.en
65.24
KB
-rw-r--r--
mpm_common.html.fr.utf8
72.24
KB
-rw-r--r--
mpm_common.html.ja.utf8
66.66
KB
-rw-r--r--
mpm_common.html.tr.utf8
69.86
KB
-rw-r--r--
mpm_netware.html
213
B
-rw-r--r--
mpm_netware.html.en
10.06
KB
-rw-r--r--
mpm_netware.html.fr.utf8
10.58
KB
-rw-r--r--
mpm_winnt.html
387
B
-rw-r--r--
mpm_winnt.html.de
7.99
KB
-rw-r--r--
mpm_winnt.html.en
10.84
KB
-rw-r--r--
mpm_winnt.html.fr.utf8
11.38
KB
-rw-r--r--
mpm_winnt.html.ja.utf8
8.23
KB
-rw-r--r--
mpmt_os2.html
207
B
-rw-r--r--
mpmt_os2.html.en
7.77
KB
-rw-r--r--
mpmt_os2.html.fr.utf8
7.96
KB
-rw-r--r--
overrides.html
209
B
-rw-r--r--
overrides.html.en
68.7
KB
-rw-r--r--
overrides.html.fr.utf8
74.38
KB
-rw-r--r--
prefork.html
466
B
-rw-r--r--
prefork.html.de
16.15
KB
-rw-r--r--
prefork.html.en
16.08
KB
-rw-r--r--
prefork.html.fr.utf8
17.41
KB
-rw-r--r--
prefork.html.ja.utf8
16.98
KB
-rw-r--r--
prefork.html.tr.utf8
16.85
KB
-rw-r--r--
quickreference.html
792
B
-rw-r--r--
quickreference.html.de
192.38
KB
-rw-r--r--
quickreference.html.en
191.44
KB
-rw-r--r--
quickreference.html.es
191.79
KB
-rw-r--r--
quickreference.html.fr.utf8
205.25
KB
-rw-r--r--
quickreference.html.ja.utf8
194.74
KB
-rw-r--r--
quickreference.html.ko.euc-kr
188.53
KB
-rw-r--r--
quickreference.html.tr.utf8
194.31
KB
-rw-r--r--
quickreference.html.zh-cn.utf8
191.3
KB
-rw-r--r--
worker.html
461
B
-rw-r--r--
worker.html.de
15.79
KB
-rw-r--r--
worker.html.en
15.41
KB
-rw-r--r--
worker.html.fr.utf8
16.26
KB
-rw-r--r--
worker.html.ja.utf8
16.62
KB
-rw-r--r--
worker.html.tr.utf8
16.13
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mod_dbd.html.en
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_dbd - Apache HTTP Server Version 2.4</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> <script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body> <div id="page-header"> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p> <p class="apache">Apache HTTP Server Version 2.4</p> <img alt="" src="../images/feather.png" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.4</a> > <a href="./">Modules</a></div> <div id="page-content"> <div id="preamble"><h1>Apache Module mod_dbd</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/mod/mod_dbd.html" title="English"> en </a> | <a href="../fr/mod/mod_dbd.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p> </div> <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Manages SQL database connections</td></tr> <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>dbd_module</td></tr> <tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_dbd.c</td></tr> <tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Version 2.1 and later</td></tr></table> <h3>Summary</h3> <p><code class="module"><a href="../mod/mod_dbd.html">mod_dbd</a></code> manages SQL database connections using <a class="glossarylink" href="../glossary.html#apr" title="see glossary">APR</a>. It provides database connections on request to modules requiring SQL database functions, and takes care of managing databases with optimal efficiency and scalability for both threaded and non-threaded MPMs. For details, see the <a href="http://apr.apache.org/">APR</a> website and this overview of the <a href="http://people.apache.org/~niq/dbd.html">Apache DBD Framework</a> by its original developer. </p> </div> <div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><h3>Topics</h3> <ul id="topics"> <li><img alt="" src="../images/down.gif" /> <a href="#pooling">Connection Pooling</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#connecting">Connecting</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#API">Apache DBD API</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#prepared">SQL Prepared Statements</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#security">SECURITY WARNING</a></li> </ul><h3 class="directives">Directives</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#dbdexptime">DBDExptime</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdinitsql">DBDInitSQL</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdkeep">DBDKeep</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdmax">DBDMax</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdmin">DBDMin</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdparams">DBDParams</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdpersist">DBDPersist</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdpreparesql">DBDPrepareSQL</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#dbdriver">DBDriver</a></li> </ul> <h3>Bugfix checklist</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">httpd changelog</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&list_id=144532&product=Apache%20httpd-2&query_format=specific&order=changeddate%20DESC%2Cpriority%2Cbug_severity&component=mod_dbd">Known issues</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&component=mod_dbd">Report a bug</a></li></ul><h3>See also</h3> <ul class="seealso"> <li><a href="../misc/password_encryptions.html">Password Formats</a></li> <li><a href="#comments_section">Comments</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="pooling" id="pooling">Connection Pooling</a></h2> <p>This module manages database connections, in a manner optimised for the platform. On non-threaded platforms, it provides a persistent connection in the manner of classic LAMP (Linux, Apache, Mysql, Perl/PHP/Python). On threaded platform, it provides an altogether more scalable and efficient <em>connection pool</em>, as described in <a href="http://www.apachetutor.org/dev/reslist">this article at ApacheTutor</a>. Note that <code class="module"><a href="../mod/mod_dbd.html">mod_dbd</a></code> supersedes the modules presented in that article.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="connecting" id="connecting">Connecting</a></h2> <p>To connect to your database, you'll need to specify a driver, and connection parameters. These vary from one database engine to another. For example, to connect to mysql, do the following:</p> <pre class="prettyprint lang-config">DBDriver mysql DBDParams host=localhost,dbname=pony,user=shetland,pass=appaloosa</pre> <p>You can then use this connection in a variety of other modules, including <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>, <code class="module"><a href="../mod/mod_authn_dbd.html">mod_authn_dbd</a></code>, and <code class="module"><a href="../mod/mod_lua.html">mod_lua</a></code>. Further usage examples appear in each of those modules' documentation.</p> <p>See <code class="directive">DBDParams</code> for connection string information for each of the supported database drivers.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="API" id="API">Apache DBD API</a></h2> <p><code class="module"><a href="../mod/mod_dbd.html">mod_dbd</a></code> exports five functions for other modules to use. The API is as follows:</p> <pre class="prettyprint lang-c">typedef struct { apr_dbd_t *handle; apr_dbd_driver_t *driver; apr_hash_t *prepared; } ap_dbd_t; /* Export functions to access the database */ /* acquire a connection that MUST be explicitly closed. * Returns NULL on error */ AP_DECLARE(ap_dbd_t*) ap_dbd_open(apr_pool_t*, server_rec*); /* release a connection acquired with ap_dbd_open */ AP_DECLARE(void) ap_dbd_close(server_rec*, ap_dbd_t*); /* acquire a connection that will have the lifetime of a request * and MUST NOT be explicitly closed. Return NULL on error. * This is the preferred function for most applications. */ AP_DECLARE(ap_dbd_t*) ap_dbd_acquire(request_rec*); /* acquire a connection that will have the lifetime of a connection * and MUST NOT be explicitly closed. Return NULL on error. */ AP_DECLARE(ap_dbd_t*) ap_dbd_cacquire(conn_rec*); /* Prepare a statement for use by a client module */ AP_DECLARE(void) ap_dbd_prepare(server_rec*, const char*, const char*); /* Also export them as optional functions for modules that prefer it */ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_open, (apr_pool_t*, server_rec*)); APR_DECLARE_OPTIONAL_FN(void, ap_dbd_close, (server_rec*, ap_dbd_t*)); APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*)); APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_cacquire, (conn_rec*)); APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const char*));</pre> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="prepared" id="prepared">SQL Prepared Statements</a></h2> <p><code class="module"><a href="../mod/mod_dbd.html">mod_dbd</a></code> supports SQL prepared statements on behalf of modules that may wish to use them. Each prepared statement must be assigned a name (label), and they are stored in a hash: the <code>prepared</code> field of an <code>ap_dbd_t</code>. Hash entries are of type <code>apr_dbd_prepared_t</code> and can be used in any of the apr_dbd prepared statement SQL query or select commands.</p> <p>It is up to dbd user modules to use the prepared statements and document what statements can be specified in httpd.conf, or to provide their own directives and use <code>ap_dbd_prepare</code>.</p> <div class="warning"><h3>Caveat</h3> When using prepared statements with a MySQL database, it is preferred to set <code>reconnect</code> to 0 in the connection string as to avoid errors that arise from the MySQL client reconnecting without properly resetting the prepared statements. If set to 1, any broken connections will be attempted fixed, but as mod_dbd is not informed, the prepared statements will be invalidated. </div> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="security" id="security">SECURITY WARNING</a></h2> <p>Any web/database application needs to secure itself against SQL injection attacks. In most cases, Apache DBD is safe, because applications use prepared statements, and untrusted inputs are only ever used as data. Of course, if you use it via third-party modules, you should ascertain what precautions they may require.</p> <p>However, the <var>FreeTDS</var> driver is inherently <strong>unsafe</strong>. The underlying library doesn't support prepared statements, so the driver emulates them, and the untrusted input is merged into the SQL statement.</p> <p>It can be made safe by <em>untainting</em> all inputs: a process inspired by Perl's taint checking. Each input is matched against a regexp, and only the match is used, according to the Perl idiom:</p> <div class="example"><pre><code> $untrusted =~ /([a-z]+)/; $trusted = $1;</code></pre></div> <p>To use this, the untainting regexps must be included in the prepared statements configured. The regexp follows immediately after the % in the prepared statement, and is enclosed in curly brackets {}. For example, if your application expects alphanumeric input, you can use:</p> <div class="example"><p><code> <code>"SELECT foo FROM bar WHERE input = %s"</code> </code></p></div> <p>with other drivers, and suffer nothing worse than a failed query. But with FreeTDS you'd need:</p> <div class="example"><p><code> <code>"SELECT foo FROM bar WHERE input = %{([A-Za-z0-9]+)}s"</code> </code></p></div> <p>Now anything that doesn't match the regexp's $1 match is discarded, so the statement is safe.</p> <p>An alternative to this may be the third-party ODBC driver, which offers the security of genuine prepared statements.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDExptime" id="DBDExptime">DBDExptime</a> <a name="dbdexptime" id="dbdexptime">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Keepalive time for idle connections</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDExptime <var>time-in-seconds</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>DBDExptime 300</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>Set the time to keep idle connections alive when the number of connections specified in DBDKeep has been exceeded (threaded platforms only).</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDInitSQL" id="DBDInitSQL">DBDInitSQL</a> <a name="dbdinitsql" id="dbdinitsql">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Execute an SQL statement after connecting to a database</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDInitSQL <var>"SQL statement"</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>Modules, that wish it, can have one or more SQL statements executed when a connection to a database is created. Example usage could be initializing certain values or adding a log entry when a new connection is made to the database.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDKeep" id="DBDKeep">DBDKeep</a> <a name="dbdkeep" id="dbdkeep">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Maximum sustained number of connections</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDKeep <var>number</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>DBDKeep 2</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>Set the maximum number of connections per process to be sustained, other than for handling peak demand (threaded platforms only).</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDMax" id="DBDMax">DBDMax</a> <a name="dbdmax" id="dbdmax">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Maximum number of connections</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDMax <var>number</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>DBDMax 10</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>Set the hard maximum number of connections per process (threaded platforms only).</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDMin" id="DBDMin">DBDMin</a> <a name="dbdmin" id="dbdmin">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Minimum number of connections</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDMin <var>number</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>DBDMin 1</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>Set the minimum number of connections per process (threaded platforms only).</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDParams" id="DBDParams">DBDParams</a> <a name="dbdparams" id="dbdparams">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Parameters for database connection</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDParams <var>param1</var>=<var>value1</var>[,<var>param2</var>=<var>value2</var>]</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>As required by the underlying driver. Typically this will be used to pass whatever cannot be defaulted amongst username, password, database name, hostname and port number for connection.</p> <p>Connection string parameters for current drivers include:</p> <dl> <dt>FreeTDS (for MSSQL and SyBase)</dt> <dd>username, password, appname, dbname, host, charset, lang, server</dd> <dt>MySQL</dt> <dd>host, port, user, pass, dbname, sock, flags, fldsz, group, reconnect</dd> <dt>Oracle</dt> <dd>user, pass, dbname, server</dd> <dt>PostgreSQL</dt> <dd>The connection string is passed straight through to <code>PQconnectdb</code></dd> <dt>SQLite2</dt> <dd>The connection string is split on a colon, and <code>part1:part2</code> is used as <code>sqlite_open(part1, atoi(part2), NULL)</code></dd> <dt>SQLite3</dt> <dd>The connection string is passed straight through to <code>sqlite3_open</code></dd> <dt>ODBC</dt> <dd>datasource, user, password, connect, ctimeout, stimeout, access, txmode, bufsize</dd> </dl> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDPersist" id="DBDPersist">DBDPersist</a> <a name="dbdpersist" id="dbdpersist">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Whether to use persistent connections</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDPersist On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>If set to Off, persistent and pooled connections are disabled. A new database connection is opened when requested by a client, and closed immediately on release. This option is for debugging and low-usage servers.</p> <p>The default is to enable a pool of persistent connections (or a single LAMP-style persistent connection in the case of a non-threaded server), and should almost always be used in operation.</p> <p>Prior to version 2.2.2, this directive accepted only the values <code>0</code> and <code>1</code> instead of <code>Off</code> and <code>On</code>, respectively.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDPrepareSQL" id="DBDPrepareSQL">DBDPrepareSQL</a> <a name="dbdpreparesql" id="dbdpreparesql">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Define an SQL prepared statement</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDPrepareSQL <var>"SQL statement"</var> <var>label</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>For modules such as authentication that repeatedly use a single SQL statement, optimum performance is achieved by preparing the statement at startup rather than every time it is used. This directive prepares an SQL statement and assigns it a label.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DBDriver" id="DBDriver">DBDriver</a> <a name="dbdriver" id="dbdriver">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Specify an SQL driver</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DBDriver <var>name</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dbd</td></tr> </table> <p>Selects an apr_dbd driver by name. The driver must be installed on your system (on most systems, it will be a shared object or dll). For example, <code>DBDriver mysql</code> will select the MySQL driver in apr_dbd_mysql.so.</p> </div> </div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/mod/mod_dbd.html" title="English"> en </a> | <a href="../fr/mod/mod_dbd.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p> </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our <a href="https://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_dbd.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2023 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>
Close