This is a discussion on Re: status() vs constants - modperl ; That seems to work for me under MP2 My first guess is that it has to do with status renamings... Instead of setting something to 200 / 500 , why not just set it to the name of the status ...
That seems to work for me under MP2
My first guess is that it has to do with status renamings...
Instead of setting something to 200 / 500 , why not just set it to
the name of the status code, then use a Hash to pull out the
appropriate code for apache1/apache2?
personally i like 'human text' like that, then looking stuff up in a
hash of values when you need the integer code. it makes debugging
way less painful.