1
我該如何去修改httpd.conf的這一部分,以便即使丟失了密碼,我也可以訪問此內容。httpd.conf,更改爲禁用驗證
AliasMatch ^/mydisk/(.*) "/links/webdav/$1"
<Directory "/links/webdav">
Options +SymLinksIfOwnerMatch
DAV On
#deprecated in httpd-2.0 DAVParam Hide Email;.htaccess
AllowOverride None
AuthName "mydisk"
AuthType Basic
require valid-user
AuthSQLiteGroupTable /dev/null
AuthSQLiteGroupField /dev/null
AuthSQLiteDB /var/lib/sqlite/registration
AuthSQLiteUserTable users
AuthSQLiteNameField LoginID
AuthSQLitePasswordField Crypt
# IndexIgnore Maildir .htaccess
Satisfy all
</Directory>
當我嘗試從瀏覽器訪問我的服務器時,我不知道登錄憑據。我有完整的根服務器訪問權限。有什麼建議麼?
我檢查了SQLite數據庫,並在那裏唯一的用戶名/密碼是我的和我的用戶(我創建的)。所以,問題是,爲什麼我無法對它進行身份驗證? – Hamid 2010-12-05 00:15:34