Specifications

Chapter 6 Managing Web Modules 81
EncodingEngine directive: This directive enables and disables mod_encoding. Correct
operation of mod_encoding also requires that the special version of mod_dav, mod_
dav_encoding be enabled as well.
Syntax Default Context Compatibility
EncodingEngine [ on |
off ]
O Server Cong Apache v2.2.x;
Mac OS X Server only
AddClientEncoding directive: Although WebDAV clients are expected to send data
in UTF-8 or any other properly detectable style, some clients send data in non-
autodetectable platform-local encoding, thus requiring this directive, which maps
encoding names to client types.
This directive species encodings expected from each client type. The clients are
identied by agent name. The agent name can be specied as a pattern using
extended regexp. Never use “.*” for agent name. Instead, use DefaultClientEncoding.
This module uses CoreFoundations CFString and supports all encoding supported by
it. In general, IANA-registered encoding names are supported.
Syntax Default Context Compatibility
AddClientEncoding
agent-name encoding [
encoding...]
None Server Cong Apache v2.2.x;
Mac OS X Server only
DefaultClientEncoding directive: This directive tells the default set of encodings what
to expect from various clients in general. You don’t need to specify UTF-8 because it is
the default.
Syntax Default Context Compatibility
DefaultClientEncoding
encoding [ encoding...]
UTF-8 Server Cong Apache v2.2.x;
Mac OS X and Mac OS X
Server only
NormalizeUsername directive: This directive is introduced to support the behavior
of Windows XP when accessing a password-protected resource. Windows XP clients
prepend “hostname\” to the real username. Enabling this option strips o the
“hostname\” part, so only “real” username is passed to the authentication module.
Syntax Default Context Compatibility
NormalizeUsername [ on
| off ]
O Server Cong Apache v2.2.x;
Mac OS X and Mac OS X
Server only