let's suppose that i want to change the HTTP status to be something other
than i'm going to return from the handler().  is there a way to get the
logging phase to log the status that the user-agent got rather than the
return value of the handler()?

here's my small script which illustrates what i'm trying to do:

        sub mod_perl_error
                {
                # a request object is the first argument
                # in handler, return mod_perl_error($r);
                $_[0]->status( SERVER_ERROR );
                $_[0]->content_type('text/html');
                $_[0]->send_http_header;
                        
                $_[0]->print("There was an oopsie.");
                
                return DONE; # the log ends up with status 200  
                }


--
brian d foy                              <[EMAIL PROTECTED]>
Director of Technology, Smith Renaud, Inc.
875 Avenue of the Americas, 2510, New York, NY  10001
        V: (212) 239-8985

Reply via email to