.htaccess update making two rules non-capturing
This commit is contained in:
parent
2d5bee0661
commit
1059315e09
|
@ -56,9 +56,9 @@
|
||||||
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
|
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
|
||||||
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
|
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
|
||||||
RewriteRule ^remote/(.*) remote.php [QSA,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/.*
|
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>
|
||||||
<IfModule mod_mime.c>
|
<IfModule mod_mime.c>
|
||||||
AddType image/svg+xml svg svgz
|
AddType image/svg+xml svg svgz
|
||||||
|
|
Loading…
Reference in New Issue