-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
I am getting such errors: [Tue Oct 19 18:36:28 2004] [error] a content filter was added without a request: includes for _every_ request when using PerlSetOutputFilter instead of SetOutputFilter I am using apache 2.0.52 with mp 1.99_16. The message comes from server/util_filter.c: if (frec->ftype < AP_FTYPE_PROTOCOL) { if (r) { outf = r_filters; } else { ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, "a content filter was added without a request: %s", frec->name); return NULL; } } else if (frec->ftype < AP_FTYPE_CONNECTION) { if (r) { outf = p_filters; } else { ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, "a protocol filter was added without a request: %s", frec->name); return NULL; } } else { outf = c_filters; } The PerlSetOutputFilter directive is placed in a <VirtualHost> block but outside of any <Directory> or <Location>. Placing it into a <Location> block makes the messages disappear. In both cases the filter does work. Torsten -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBdVjOwicyCTir8T4RAg4rAJ48qAwm5QM0GnEG3FKcF/nPp+PlNgCfSoC8 Y28icyrRRKacwmG2WGgxKrU= =5eeJ -----END PGP SIGNATURE----- -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html