Re: [mod-security-users] Rule testing question
Brought to you by:
victorhora,
zimmerletw
From: <iv...@we...> - 2004-03-01 10:08:17
|
>> test for Apache (what I'm running). On a few test I am receiving 500 series errors >> (configuration error) saying 200 is required. I saw Ivan mention this in some of the >> scripts. Can anybody point me to where I can find what 200 is? I have been googling for >> 90 minutes and haven't stumbled upon it. > > http://www.rfc-editor.org/rfc/rfc2616.txt > > 200 = OK = The HTTP request went fine. > > I don't know the answer to the deeper question > though (getting 500 when you should get 200). Regression tests are crafted for the Apache configuration that's in the root of the distribution. So getting the HTTP status 500 where I expect 200 probably means that you have a more restrictive configuration. Since your configuration is different, the best approach would be to write your own regression tests using the existing tests as examples. Bye, Ivan |