我使用的是Windows XP,我希望拥有一个存储库,所以我使用Apache Server
创建了它在我的Apache服务器中,为什么我收到此错误?
我用它在httpd-dav.conf
下创建我的存储库Alias / sites“C:/ Program Files / Apache Software Foundation / Apache2.2 / sites”
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/sites">
Dav On
Order Allow,Deny
Allow from all
AuthType Digest
AuthName DAV-upload
Options Indexes
AuthUserFile "C:/Program Files/Apache Software Foundation/Apache2.2/user.passwd"
AuthDigestProvider file
# Allow universal read-access, but writes are restricted
# to the admin user.
<LimitExcept GET OPTIONS>
require user admin
</LimitExcept>
</Directory>
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400]
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1]
请告诉我如何解决这个问题?
答案 0 :(得分:2)
我正在使用Window 2008。
我发现的是\ conf \ extra文件夹中 DavLockDB
的默认条目是:
/ Apache Software Foundation / Apache2.2 / var / DavLock
但是,在Windows安装下没有创建var
目录。
创建var
目录似乎解决了这个问题。