aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorMartin <martin.mattel@diemattels.at>2016-06-03 16:34:26 +0200
committerMartin <martin.mattel@diemattels.at>2016-06-03 16:34:26 +0200
commit1059315e092616d7f87811cba646f62a7da4cd6e (patch)
treec7e94469d2d5a00d47b95e3bc7d6baa5f78edd1a /.htaccess
parent2d5bee0661d52629b1ca0b8ec3c57752a3b7d8ed (diff)
downloadnextcloud-server-1059315e092616d7f87811cba646f62a7da4cd6e.tar.gz
nextcloud-server-1059315e092616d7f87811cba646f62a7da4cd6e.zip
.htaccess update making two rules non-capturing
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 5bf7b321f0c..bd9f5af3f70 100644
--- 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