You sent this to the wrong mailing list.
This one is for APR http://apr.apache.org/ related development talks.
"The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features."
Your question is Apache HTTPD / Apache module related.
See here this http://httpd.apache.org/lists.html for a list of mailing lists that may be of help.
To keep a long storry short: i have an apache module that sets an
ouput-filter (besides other things), does validate/mangle the data. so
far so good. my question now is how can i get apache to generate an
errorpage by itself if my module wants it to return with e.g. 404
errcode (just returning the status code as outputfilter returnvalue
doesnt work.. i tried that because someone mentioned it could work).
currently i generate my own errorpage with the statuscode as workaround
(but this is only a temp solution). so whats the correct way doing that?