Package: apache2-mpm-itk
Version: 2.2.6-02-1+b4
Severity: minor

--- Please enter the report below this line. ---

The setting "EncodingEngine on" of the apache2 module "encoding"
(libapache2-mod-encoding - package version 20040616-5) behaves differently in a
apache2-mpm-itk and a default apache2-mpm-worker server.
The following lines work in apache2-mpm-worker:

 <Directory /foo/bar/>
        <ifmodule mod_encoding.c>
                EncodingEngine on
                NormalizeUsername on
        </ifmodule>
 </Directory>

The same lines result in the following error message in apache2-mpm-itk:
 EncodingEngine not allowed here

Sadly there is no online documentation for the pretty simple (~500 lines of
code) encoding module.


Maybe the following lines of the mod_encoding.c file can help analyzing the
problem? (I have no experience with apache code - sorry!)

258 /**
259  * Handler for "SetServerEncoding" directive.
260  */
261 static const char *
262 set_server_encoding(cmd_parms *cmd, encoding_config *conf, char *arg) {
263 
264   if (! cmd->path) {
265     conf = ap_get_module_config(cmd->server->module_config, 
&encoding_module);
266   }
267   conf->server_encoding = apr_pstrdup(cmd->pool, arg);
268 
269   return NULL;
270 }


I would be glad, if the encoding module could work with ITK as well - it is 
very useful
for a WebDAV server.

Thanks for your time,
Lars

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-xen-amd64

Attachment: signature.asc
Description: PGP signature

Reply via email to