[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#921024: apache2: DEP8 failure with 2.4.38-1: allowmethods.t



On Mon, Feb 4, 2019 at 9:14 PM Stefan Fritsch <sf@sfritsch.de> wrote:
> At the top of debian/tests/run-test-suite , there is:
>
> # set to "-v t/modules/ext_filter.t ..." to run only a few test, but verbose
> TESTS=""
>
> Changing that should give a bit more verbosity.

I got this:
# testing : Get - When Post/reset is allowed.
# expected: 200
# received: '405'
not ok 10
Failed 1/10 subtests

That was when a get was done to the Post/reset url, defined like this
in the config:
<IfModule mod_allowmethods.c>
...
    <Directory /tmp/autopkgtest.GW72Ed/autopkgtest_tmp/perl-framework/t/htdocs/modules/allowmethods/Post/reset>
        AllowMethods reset
    </Directory>
</IfModule>

When I bring up apache with just that mod_allowmethods config, in
another system where I just installed apache, a wget on the Post/reset
(or Post/reset/) url works just fine. I'm thinking it must be some bad
interaction with another module that the test suite had apache load
before, but that full config file is huge, with listeners in many
ports, etc. That's when I stopped debugging.


Reply to: