[Pkg-nginx-maintainers] Bug#851784: Bug#851784: libnginx-mod-http-dav-ext: unknown directive "dav_ext_methods"

Christos Trochalakis ctrochalakis at debian.org
Sat Jan 21 06:59:33 UTC 2017


Hello Nazar,

On Thu, Jan 19, 2017 at 01:44:51AM +0800, Nazar A Wahab wrote:
>Package: libnginx-mod-http-dav-ext
>Version: 1.10.2-2
>Severity: important
>
>After v1.10.2-2 dav-ext dynamic module, Nginx no longer start: unknown
>directive "dav_ext_methods"
>
>Dear Maintainer,
>
>   * What led up to the situation?
>     Since v1.10.2-2 where dav-ext has been converted to a dynamic module
>package (found in the change log, Christos Trochalakis <yatiohi at ideopolis.gr>
>Sat, 12 Nov 2016 09:18:12 +0200), Nginx no longer starts, configtest failed:
>unknown directive "dav_ext_methods". If this directive is removed from the
>config, majority WebDAV clients will receive HTTP error 405 due to missing HTTP
>methods "PROPFIND OPTIONS".
>
>   * What exactly did you do (or not do) that was effective (or
>     ineffective)?
>     Tried upgrading uptil v1.11.8-1~exp1 still the issue exists.
>
>   * What was the outcome of this action?
>     Had to downgrade to v1.10.2-1.
>
>   * What outcome did you expect instead?
>     Hope to be able to use back the dav_ext_methods directive in future
>versions.
>

It seems to work for me on a clean sid system:

apt-get install nginx-full
rm /etc/nginx/sites-enabled/default
cat <<EOF > "/etc/nginx/sites-enabled/dav"
server {
    listen 80 default_server;
    root /srv/dav;

    dav_methods PUT DELETE MKCOL COPY MOVE;
    dav_ext_methods PROPFIND OPTIONS;

    create_full_put_path  on;
    dav_access group:rw all:r;
}
EOF

nginx -t
nginx -s reload

>
>
>-- System Information:
>Debian Release: 8.7
>  APT prefers stable
>  APT policy: (500, 'stable')
>Architecture: amd64 (x86_64)
>
>Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
>Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>Init: systemd (via /run/systemd/system)

Are you trying to install 1.10.2-2 in a stable(jessie) system? That wont work,
those packages target only unstable and testing.



More information about the Pkg-nginx-maintainers mailing list