Project

General

Profile

Actions

Bug #1577

closed

mod_auth breaks webdav options request

Added by moo over 16 years ago. Updated over 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description


    $HTTP["url"] =~ "^/download($|/)" {
        webdav.activate = "enable" 
        webdav.is-readonly = "enable" 
    }
    else $HTTP["url"] =~ "^/download/market-upload($|/)" {
        webdav.activate = "enable" 
        webdav.is-readonly = "disable" 
    }
    auth.backend               = "htdigest" 
    auth.backend.htdigest.userfile = "/etc/lighttpd/users.txt" 
    auth.require               = ( "/download/market-upload" =>
                               (
                                 "method"  => "digest",
                                 "realm"   => "e-ther market",
                                 "require" => "valid-user" 
                               ),
                             )

request:


OPTIONS /download/market-upload HTTP/1.1
User-Agent: Microsoft Data Access Internet Publishing Provider Protocol Discovery
Host: www.e-ther.cn
Content-Length: 0
Connection: Keep-Alive

response:


HTTP/1.1 200 OK
WWW-Authenticate: Digest realm="e-ther market", nonce="bbbc88d24618f27a163a86045
d0097c3", qop="auth" 
Allow: OPTIONS, GET, HEAD, POST
Content-Length: 0
Date: Sun, 02 Mar 2008 10:09:40 GMT
Server: lighttpd/1.4.18

expected: {{{Allow: PROPFIND, DELETE, MKCOL, PUT, MOVE, COPY, PROPPATCH, LOCK, UNLOCK}}}

Actions #1

Updated by moo over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to duplicate

duplicate of #1324

Actions

Also available in: Atom