build nginx with full webdav support (nginx

OS: Debian Squeeze
nginx: v.0.7.67

configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-debug --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gzip_static_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-ipv6 --with-mail --with-mail_ssl_module --add-module=/home/thijs/nginx/nginx-0.7.67/modules/nginx-upstream-fair

And I want to patch this installation with nginx-dav-ext-module for full webdav support. Here's how I tried to do it (with no success so far):

  • get the sources to some folder in my home dir: apt-get source nginx
  • download nginx-dav-ext-module unpack and place it into nginx-0.7.67/modules folder
  • add: --add-module=/full_path_to_source_folder/nginx-0.7.67/modules/nginx-dav-ext-module to debian/rules file
  • apt-get build-dep nginx
  • dpkg-buildpackage
  • dpkg -i nginx-dbg_0.7.67-3+squeeze3_amd64.deb
  • and finally start nginx, but nginx -V gives me the same configure arguments as before adding nginx-dav-ext-module (info above)
  • What am I missing?
    Any suggestions appreciated.

    链接地址: http://www.djcxy.com/p/95182.html

    上一篇: Nginx模块http

    下一篇: 用完整的webdav支持构建nginx(nginx