Hello nginx maintainers and davext contributor,

Thank you for maintaining the nginx port.

I’ve installed nginx with DAV and DAVEXT support:

bash-3.2# port installed nginx
The following ports are currently installed:
  nginx @1.17.6_0+dav+davext+fancyindex+flv+http2+mp4+secure_link+ssl+stream 
(active)

But when I add directives from davext, nginx throws up emergencies. 

2019/12/28 14:31:48 [emerg] 9175#0: unknown directive "dav_ext_lock_zone" in 
/opt/local/etc/nginx/nginx.conf:39

or if I remove the dav_ext_lock_zone directive:

2019/12/28 14:33:25 [emerg] 9186#0: invalid value "LOCK" in 
/opt/local/etc/nginx/servers/albus.rna.nl:30

nginx -V says:

configure arguments: --prefix=/opt/local --with-cc-opt='-I/opt/local/include 
-Os' --with-ld-opt='-L/opt/local/lib -Wl,-headerpad_max_install_names' 
--conf-path=/opt/local/etc/nginx/nginx.conf 
--error-log-path=/opt/local/var/log/nginx/error.log 
--http-log-path=/opt/local/var/log/nginx/access.log 
--pid-path=/opt/local/var/run/nginx/nginx.pid 
--lock-path=/opt/local/var/run/nginx/nginx.lock 
--http-client-body-temp-path=/opt/local/var/run/nginx/client_body_temp 
--http-proxy-temp-path=/opt/local/var/run/nginx/proxy_temp 
--http-fastcgi-temp-path=/opt/local/var/run/nginx/fastcgi_temp 
--http-uwsgi-temp-path=/opt/local/var/run/nginx/uwsgi_temp 
--with-http_dav_module --with-http_dav_module 
--add-module=/opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_www_nginx/nginx/work/nginx-dav-ext-module-0.1.0
 --with-http_flv_module --with-http_ssl_module --with-http_v2_module 
--with-http_mp4_module --with-http_secure_link_module --with-stream 
--with-stream_ssl_module --with-stream_ssl_preread_module 
--add-module=/opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_www_nginx/nginx/work/ngx-fancyindex-0.4.3

(The double --with-http_dav_module comes from +dav and +davext, same effect 
with just +davext)

But after a build, the directory 
/opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_www_nginx 
does not exist, let alone its contents. But the same is true for fancyindex and 
that directive is accepted.

I’m stumped. Why isn’t davext working?

Gerben Wierda
Chess and the Art of Enterprise Architecture <http://enterprisechess.com/>
Mastering ArchiMate <http://masteringarchimate.com/>
Architecture for Real Enterprises 
<https://www.infoworld.com/blog/architecture-for-real-enterprises/> at InfoWorld
On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ

Reply via email to