Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
6cc50ecf
Commit
6cc50ecf
authored
Mar 19, 2015
by
Wolfgang Karall
Browse files
use permanent redirect for .well-known/(cal|card)dav, add 'L' flag
parent
2a8c3798
Changes
1
Hide whitespace changes
Inline
Side-by-side
.htaccess
View file @
6cc50ecf
...
...
@@ -24,8 +24,8 @@ RewriteEngine on
RewriteRule
.* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule
^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule
^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
RewriteRule
^\.well-known/carddav /remote.php/carddav/ [R]
RewriteRule
^\.well-known/caldav /remote.php/caldav/ [R]
RewriteRule
^\.well-known/carddav /remote.php/carddav/ [R
=301,L
]
RewriteRule
^\.well-known/caldav /remote.php/caldav/ [R
=301,L
]
RewriteRule
^apps/calendar/caldav\.php remote.php/caldav/ [QSA,L]
RewriteRule
^apps/contacts/carddav\.php remote.php/carddav/ [QSA,L]
RewriteRule
^remote/(.*) remote.php [QSA,L]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment