]> source.dussan.org Git - nextcloud-server.git/commitdiff
.htaccess update making two rules non-capturing origin/htaccess_update
authorMartin <martin.mattel@diemattels.at>
Fri, 3 Jun 2016 14:34:26 +0000 (16:34 +0200)
committerMartin <martin.mattel@diemattels.at>
Fri, 3 Jun 2016 14:34:26 +0000 (16:34 +0200)
.htaccess

index 5bf7b321f0cc1b8fef512383ee8e17fe6f5102e8..bd9f5af3f707a93df10b4b08ce31e0aa30b8c83d 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -56,9 +56,9 @@
   RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
   RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
   RewriteRule ^remote/(.*) remote.php [QSA,L]
-  RewriteRule ^(build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
+  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
   RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
-  RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
+  RewriteRule ^(?:\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
 </IfModule>
 <IfModule mod_mime.c>
   AddType image/svg+xml svg svgz