dongzhouzhang8696 2013-04-23 14:59
浏览 474
已采纳

未使用DAVLockDB指令指定锁定数据库。 必须指定一个使用锁定功能。 [500,#401]

I am trying to deploy my maven project website using WebDAV protocal into apache 2.2. Server.

And When I am deploying the application to the server, I am getting above error.

I have following configuration in httpd-dav.conf. but I am still finding above error in ahache_error.log file. Could anybody help me to find the reason here.

DavLockDB "c:/apache2.2/var/DavLock"
Alias /sites "c:/apache2.2/sites"

<Directory "c:/apache2.2/sites">
    Dav On

    Order Allow,Deny
    Allow from all

    AuthType Digest
    AuthName DAV-upload

    Options Indexes

    AuthUserFile "c:/wamp/bin/apache/apache2.2.22/user.passwd"
    AuthDigestProvider file

    # Allow universal read-access, but writes are restricted
    # to the admin user.
    <LimitExcept GET OPTIONS>
        require user admin
    </LimitExcept>
</Directory>
  • 写回答

1条回答 默认 最新

  • doushang3352 2013-04-26 08:22
    关注

    Actually I found the answer after 2 days and answer is very simple.

    I removed DavLockDB "c:/apache2.2/var/DavLock" from httpd-dav.conf file and placed this line inside httpd.conf file

    This is the only change I did and now I am able to access apache2.2 server using web dav protocal.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作