使用完整的webdav支持构建nginx(nginx-dav-ext-module)

时间:2014-02-03 14:39:05

标签: nginx debian webdav

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

我想用nginx-dav-ext-module修补此安装,以获得完整的webdav支持。 以下是我尝试这样做的方法(到目前为止没有成功):

  1. 获取我家dir中某些文件夹的来源:apt-get source nginx
  2. 下载nginx-dav-ext-module解包并将其放入nginx-0.7.67 / modules文件夹
  3. 添加: - add-module = / full_path_to_source_folder / nginx-0.7.67 / modules / nginx-dav-ext-module \ to debian / rules file
  4. apt-get build-dep nginx
  5. 或dpkg-buildpackage
  6. dpkg -i nginx-dbg_0.7.67-3 + squeeze3_amd64.deb
  7. 最后启动nginx,但是nginx -V给出了与添加nginx-dav-ext-module之前相同的配置参数(上面的信息)
  8. 我缺少什么?
    任何建议表示赞赏。

0 个答案:

没有答案
相关问题