자유게시판

nextcloud caddav, caldav 설정 관리 개요 경고 수정

페이지 정보

profile_image
작성자천사 조회 11,885회 작성일 2021-08-18 15:41:17 댓글 0

본문

.htaccess 중간 부분 수정

 

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{HTTP_USER_AGENT} DavClnt
  RewriteRule ^$ /remote.php/webdav/ [L,R=302]
  RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  RewriteRule ^\.well-known/carddav https://도메인 주소/remote.php/dav/ [R=301,L]
  RewriteRule ^\.well-known/caldav https://도메인 주소/remote.php/dav/ [R=301,L]
  RewriteRule ^remote/(.*) remote.php [QSA,L]
  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
  RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
  RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>

 

 

댓글목록

등록된 댓글이 없습니다.

Copyright © Claw’s Lab · blog.batifa.com