소스 검색

Exclude ocs-provider from rewrite rule

Otherwise `localhost/ocs-provider/` cannot be accessed if mod_rewrite is install
ed. Only affects master.
Lukas Reschke 8 년 전
부모
커밋
0a624c0f1e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .htaccess

+ 1 - 0
.htaccess

@@ -63,6 +63,7 @@
   RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php
   RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php
   RewriteCond %{REQUEST_FILENAME} !/updater/
+  RewriteCond %{REQUEST_FILENAME} !/ocs-provider/
   RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
   RewriteRule .* index.php [PT,E=PATH_INFO:$1]
 </IfModule>