File: README.JP

package info (click to toggle)
libapache-mod-encoding 0.0.20021209-12
  • links: PTS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,700 kB
  • sloc: ansic: 94,406; sh: 6,693; makefile: 43
file content (159 lines) | stat: -rw-r--r-- 5,034 bytes parent folder | download | duplicates (5)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159

=head1 NAME

  mod_encoding - HTTP ꥯȤΥ󥳡ǥѴ⥸塼

=head1 SYNOPSIS

 # in httpd.conf
 LoadModule headers_module  libexec/mod_headers.so
 LoadModule encoding_module libexec/mod_encoding.so

 AddModule mod_headers.c
 AddModule mod_encoding.c

 <IfModule mod_headers.c>
  Header add MS-Author-Via "DAV"
 </IfModule>

 <IfModule mod_encoding.c>
  EncodingEngine    on
  NormalizeUsername on
  SetServerEncoding     UTF-8
  DefaultClientEncoding JA-AUTO-SJIS-MS SJIS

  AddClientEncoding "cadaver/" EUC-JP
 </IfModule>

=head1 DESCRIPTION 

 Apache ⥸塼 HTTP ꥯȵڤӤإå˴ޤޤ
ʸΥ󥳡ǥ󥰤ѴΤǤ mod_dav εǽ
䴰Τ˺ޤ

ߡ¿ WebDAV 饤Ȥϥե̾򥯥饤¦
ѤƤ륨󥳡ǥ󥰤ΤޤȤưޤ
Ȥ mod_dav Ϥ٤ƤΥǡ UTF-8 ǤȤ
ư뤿ˡ줬߱ѾƤޤ

Ϥ餯Ūˤ RFC ǵʤ᤿塢Ƽ
˽򤹤뤳ȤDzäȻפޤԤ mod_dav 
Ѳǽˤ뤿ܥ⥸塼뤬ޤ

=head1 REQUIREMENTS

ܥ⥸塼Ѥˤ iconv(3) ɬפǤ

⤷ƥɸ iconv ʤ㤨 *BSD ϤΥץåȥեˤϡ

  http://clisp.cons.org/~haible/packages-libiconv.html

Ǥޤ嵭ѥå BSD/OS 4.1 ѲǽǤ뤳Ȥ
ǧƤޤ

=head1 INSTALLATION

ñ

  $ ./configure --with-apxs=<path-to-apxs>
  $ make
  $ make install

ǥӥɡܥ󥹥ȡǤϤǤiconv_hook Ѥ
 lib/ ʲ configure ; make; make install ǡ

  ./configure --enable-debug \
              --with-apxs=<path-to-apxs> \
              --with-iconv-hook=<install-dir-of-iconv.h-of-iconv_hook>

ʤɤȤɬפޤ--enable-debug ȤΤפ
ڤˤ뤿ǡɬܤǤϤޤ

ʤmake install ǼԤ⡢mod_encoding.so Ŭڤ
⥸塼֤˥ԡʤȤޤ

configure ꤬ϡ° Makefile.simple 
١˥ӥɤǤޤapxs Ȥġ뤬ꡢŪñ
ӥɼʤΤǡȥ졼Ȥ˹Ԥʤ Makefile ľ
ȤΤͤˤäƤϸ̤ɤ⤷ޤ

Ǹˡconfigure  apxs ȤʤϤäǤDSO 
ĥäƺ뤫ΤΥӥɻΥѥ륪ץʤɤɬפʤΤ
֤ޤˡapache ȥꥳѥŪȹ뤳Ȥˤʤ
Ȼפޤξ apache °ʸɤߡȤ߹ˡ
Ĵ٤Ƥ

=head1 CONFIGURATION

Υ⥸塼ưϰʲ̿ǹԤޤ: EncodingEngine,
SetServerEncoding, AddClientEncoding, DefaultClientEncoding,
NormalizeUsername Ǥ

=over 4

=item EncodingEngine (on|off)

⥸塼ư椷ޤon ͭˤʤޤ

=item SetServerEncoding <encoding>

С¦ǥե̾Ѥ륨󥳡ǥ󥰤ꤷޤ
ե롿եؤΥ׵᤬ȡǻꤵ줿
󥳡ǥ󥰤̾ѴǽԤޤ

Ȥơ mod_dav  UTF-8 ʳΥ󥳡ǥ󥰤
ʤᡢǽ mod_dav γĥѥåʻѤʤ
¤ꡢ UTF-8 ȤƤΤ̵Ǥ

=item AddClientEncoding <agent-name> <encoding> [<encoding> ...]

ѴκݤΥҥȤȤơƼ泌ȤԤ
󥳡ǥ󥰤ꤷޤʣġˡ

̾ WebDAV 饤Ȥ UTF-8 ǥꥯȤ뤳Ȥ
׵ᤵƤʾʤȤ侩Ƥ롩ˤΤΡ¤ˤ
¿Υ饤ȤơưĶǻȤƤ
󥳡ǥ󥰤ǥꥯȤäƤ褦Ǥ
ܼŪˤϼưȽǤʤᡢ߱Ѥξ㳲Ȥʤޤ

ȾưŪȽꤷʬŪ˲褹뤿ˡ̾
Ԥ륨󥳡ǥ󥰤̾ΤڥϿޤ

̾λϳĥɽѲǽǤʤ.* 
Ƥ˥ޥåƤޤȽ꤬ǤƤޤΤǡ
 DefaultClientEncoding ȤäƤ

=item DefaultClientEncoding <encoding> [<encoding> ...]

ꥯȤ˴ԤǥեȤΥ󥳡ǥ󥰤
ꤷޤʣġˡơΥ饤Ȥ̻ꤹ
Ѥޤ

ʤUTF-8 ϰۤΥǥեȤȤɬ뤿ᡢ
ꤹɬפϤޤ

=item NormalizeUsername (on|off)

 WindownXP ǧդ꥽˥ݤεư䴰
Τǡʤ桼̾ղä "hostname\" ʬڤȤޤ

=back

=head1 SUPPORTED ENCODINGS

Υ⥸塼Ѵ iconv ѤƤ뤿ᡢ iconv 
ݡȤ뤹٤ƤΥ󥳡ǥ̾ΤǤޤĤ
iconv ѥå˴ޤޤ iconv(1) ޥɤϰɽץ
äƤΤǡiconv -l ʤɤȤƳǧȤ褤Ǥ礦

ޤƱ iconv ĥѥ饤֥ iconv_hook Ȥ߹
ʲΥ󥳡ǥ󥰤Ѳǽˤʤޤ

  MSSJIS
  - Ƽ濫 SJIS ⡢ޥեȼҤκѤƤ SJIS Ǥ

  JA-AUTO-SJIS-MS
  - ϼưȽ굡ǽ󶡤üʥСꤹΤǡ
    UTF-8/JIS/MSSJIS/SJIS/EUC-JP 뤳ȤǤޤ

=cut