-
Notifications
You must be signed in to change notification settings - Fork 4
/
webdbviewer.conf
57 lines (43 loc) · 974 Bytes
/
webdbviewer.conf
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
;;; WebDBViewer configuration file
[basic]
;;; Database type
;dbtype=mysql
;dbtype=sqlite
dbtype=
;;; Database name
dbname=
;;; User
user=
;;; Password
password=
;;; Host
;host=yourhost.com
host=
;;; Port
;port=1234
port=
;;; Site title
;site_title=WebDBViewer
;;; Database charset
;charset=euc-jp
[mysql]
;;; Config file
;mysql_read_default_file=/etc/my.cnf
;;; SET NAMES statement
;set_names=ujis
[join]
;;; Join cluase
;;; If join option is set, you can use join mode.
;book[1]=left join author on book.author_id = author.id
;book[2]=left join title on book.title_id = title.id
[reverse_proxy]
;;; Reverse proxy support (default: automatically detected)
;on=1
;;; Reverse proxy path depth (default: none)
;;; If proxy path is http://somehost.com/foo, you set path_depth to 1.
;;; If proxy path is http://somehost.com/foo/bar, you set path_depth to 2.
;path_depth=1
;path_depth=2
[hypnotoad]
;;; Listen address(default:http://*:10030)
;listen=http://*:10030