[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[webdav-jp:0240] mod_encoding-20011211a での iconv_string: conversion error
- To: webdav-jp@xxxxxxxx
- Subject: [webdav-jp:0240] mod_encoding-20011211a での iconv_string: conversion error
- From: Koji Nishi <nishikoji@xxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Feb 2002 16:43:45 +0900
- Delivered-to: webdav-jp@begi.net
- Posted: Tue, 19 Feb 2002 16:42:03 +0900
西と申します。
Redhat Linux 7.2上でmod_dav-1.0.3-1.3.6、libiconv-1.7、mod_encoding-20011211aを
動作させると、iconv_string: conversion errorエラーが出て、日本語ファイルのコピー
新規フォルダーの作成ができません。誤っているところ、調べるべきところがわかりまし
たらご教示いただけませんでしょうか。
【1】構成
・サーバ
Redhat Linux 7.2
apache_1.3.23
mod_dav-1.0.3-1.3.6
libiconv-1.7
mod_encoding-20011211a
・クライアント
Win2000 Professional Webフォルダー
【2】インストール手順
(1) apache_1.3.23, mod_dav-1.0.3-1.3.6インストール
(2) libiconv-1.7インストール
# ./configure --prefix=/usr/local
# make
# make install
(3) mod_encoding-20011211aインストール
Makefileを編集
Makefileの抜粋
--------------------------------------------------------------------
APXS = /www/apache/bin/apxs -Wc,-Wall
#編集1/2
#INCS =
INCS = -I/usr/local/include
DEFS = -DMOD_ENCODING_DEBUG=1 -Diconv=iconv_hook \
-Diconv_open=iconv_hook_open -Diconv_close=iconv_hook_close
#編集2/2
#LIBS = -L/usr/local/lib -Llib -liconv_hook
LIBS = -L/usr/local/lib -Llib -liconv_hook -liconv
--------------------------------------------------------------------
【3】設定
httpd.conf(抜粋)
LoadModule encoding_module libexec/mod_encoding.so
AddModule mod_encoding.c
<IfModule mod_encoding.c>
EncodingEngine on
SetServerEncoding UTF-8
AddClientEncoding SJIS "Microsoft .* DAV"
AddClientEncoding SJIS "xdwin9x"
AddClientEncoding EUC-JP "cadaver/"
</IfModule>
【4】実行結果
Win2000ウェブフォルダーからの接続時のerror_log
[Tue Feb 19 15:58:34 2002] [warn] module mod_become.c is already added, skipping
server_setup: entered
folder_setup: entered
server_setup: entered
[Tue Feb 19 15:58:34 2002] [warn] module mod_encoding.c is already added, skippi
ng
[Tue Feb 19 15:58:34 2002] [alert] httpd: Could not determine the server's fully
qualified domain name, using 127.0.0.1 for ServerName
[Tue Feb 19 15:58:34 2002] [notice] Apache/1.3.23 (Unix) mod_become/1.2 DAV/1.0.
3 configured -- resuming normal operations
[Tue Feb 19 15:58:34 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
[Tue Feb 19 15:59:11 2002] [warn] iconv_string: conversion error
config_merge: entered
merged: enable_function == 2
merged: server_encoding == UTF-8
[Tue Feb 19 15:59:11 2002] [warn] iconv_string: conversion error
config_merge: entered
merged: enable_function == 2
以上です。