瀏覽代碼

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>