webdav設定
IfModule mod_dav.c>
Alias /zumen "I:/"
DAVMinTimeout 7200
DAVLockDB "I:/DAVLock"
Location /zumen>
DAV On
AuthUserFile "C:/Program Files/Apache Software Foundation/Apache2.2/bin/_htpasswd"
AuthName "zumen"
AuthType Basic
Options Includes FollowSymLinks -Indexes
Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require user 名前←パスワード生成したものを書く
/Limit>
/Location>
/IfModule>
ディレクトリを設定
Directory "i:/">
DAV On
Options -Indexes FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
/Directory>
パスワードファイルの生成(binフォルダの中にパスワード生成プログラムhtpasswd.exeが入っている。
要するに、htpasswd.exe -c _htpasswd user という形式にすればOK!
C:\> cd C:\apache2\bin
C:\apache2\bin> htpasswd -c C:\apache2\conf\.htpasswd oyaji
Automatically using MD5 format.
New password: *****
Re-type new password: *****
Adding passwd for user oyaji
コマンドプロンプトを使ってこのように書く
その他
Directory "c:/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
【解決方法】
(1) c:\winnt\system32\webfldrs.msiを実行
(2) [Select reinstall mode]を押す
(3) 以下の項目にチェック
Repair all detected reinstall problems
Force all files to be reinstalled, regardless of checksum or version
Verify that required user registry entries are present
Verify that required local machine registry entries are oresent
(4) [OK]を押す
(5) [Reinstall]を押す