[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[0946] mod_encoding 1.3 strict config patch
- To: webdav-jp@xxxxxxxx
- From: Tatsuki Sugiura <sugi@xxxxxxxxx>
- Date: Wed, 14 Jan 2004 19:33:41 +0900
- Posted: Wed, 14 Jan 2004 19:33:36 +0900
杉浦です。
mod_encoding 1.3 なのですが、Directory や Location ディレクティブに
NormalizeUsername 以外の設定を書いても無効ですよね。
しかし、書けてしまいます。
これがかなり混乱するので、ちゃんとエラーになるようなパッチを作ってみました。
出来ればマージしていただければ幸いです。
--
Tatsuki Sugiura mailto:sugi@xxxxxxxxx
--- mod_encoding.orig/mod_encoding.c 2004-01-13 04:50:24.000000000 +0900
+++ mod_encoding/mod_encoding.c 2004-01-13 04:55:51.000000000 +0900
@@ -314,23 +314,23 @@
static const command_rec mod_enc_commands[] = {
{"EncodingEngine",
set_encoding_engine, NULL,
- OR_ALL, FLAG, "Usage: EncodingEngine (on|off)"},
+ RSRC_CONF, FLAG, "Usage: EncodingEngine (on|off)"},
{"SetServerEncoding",
set_server_encoding, NULL,
- OR_ALL, TAKE1, "Usage: SetServerEncoding <enc>"},
+ RSRC_CONF, TAKE1, "Usage: SetServerEncoding <enc>"},
{"AddClientEncoding",
add_client_encoding, NULL,
- OR_ALL, RAW_ARGS, "Usage: AddClientEncoding <agent> <enc> [<enc> ...]"},
+ RSRC_CONF, RAW_ARGS, "Usage: AddClientEncoding <agent> <enc> [<enc> ...]"},
{"DefaultClientEncoding",
default_client_encoding, NULL,
- OR_ALL, RAW_ARGS, "Usage: DefaultClientEncoding <enclist>"},
+ RSRC_CONF, RAW_ARGS, "Usage: DefaultClientEncoding <enclist>"},
{"NormalizeUsername",
set_normalize_username, NULL,
- OR_ALL, FLAG, "Usage: NormalizeUsername (on|off)"},
+ RSRC_CONF|ACCESS_CONF, FLAG, "Usage: NormalizeUsername (on|off)"},
{NULL}
};