ユーザ用ツール

サイト用ツール


webdav

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
webdav [2019/11/12 11:03] – [ubuntu+apache2] nabezowebdav [2020/09/18 00:19] (現在) – [curl] nabezo
行 15: 行 15:
  
 webdav用のディレクトリ作成 webdav用のディレクトリ作成
-  sudo mkdir /var/www/webdav+  sudo mkdir c
   sudo mkdir /var/www/temp   sudo mkdir /var/www/temp
 +  chown -R www-data:www-data mkdir /var/www/webdav
 +  chown -R www-data:www-data mkdir /var/www/temp
  
 /etc/apache2/conf-available/webdav.conf /etc/apache2/conf-available/webdav.conf
行 26: 行 28:
  
   sudo a2enconf webdav.conf   sudo a2enconf webdav.conf
-     +  service apache2 restart
-  +
  
 +====== nginx ======
 +403エラーが出る場合、その他ユーザに実行権限が有るか確認
 +
 +====== test方法 ======
 +===== [[curl]] =====
 +
 +  #書き込み
 +  curl -T test1.txt -u ID:PASS --url http://example.com/directory/test1.txt -X PUT
 +  #ディレクトリ作成
 +  curl -u ID:PASS --url http://example.com/directory/testdir/ -X MKCOL 
 +  #削除
 +  curl -u ID:PASS --url http://example.com/directory/test1.txt -X DELETE
 +
 +===== cadaver =====
  
webdav.1573524219.txt.gz · 最終更新: 2019/11/12 11:03 by nabezo