Re: [users@httpd] how to suppress hard-coded response body in 302 redirect

2011-08-29 Thread Nick Kew
On 29 Aug 2011, at 23:21, Peter Glasten wrote: > Hello! > > In my Apache module Since this is a development question, it would be more on-topic for the modules-dev list than here. > (module AP_MODULE_DECLARE_DATA ... etc etc - low-level Apache module written > in C) I need to return a 302 redi

[users@httpd] how to suppress hard-coded response body in 302 redirect

2011-08-29 Thread Peter Glasten
Hello! In my Apache module (module AP_MODULE_DECLARE_DATA ... etc etc - low-level Apache module written in C) I need to return a 302 redirect status with no body, Content-Length set to zero, and no content-type (this is a third-party requirement that I cannot change). Apache by default adds hard-c

[users@httpd] logging from custom module ubuntu apache

2011-08-29 Thread Lyudmila L. Balakireva
Hello, I installed apache 2.2.17 on ubuntu. I also added custom module which has debug messages such as: ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,"mod_xxx: uri from cache check %s",val) ; etc On Red Hat apache the module is logging to error.log, but on ubuntu apache it does not. Is any