summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-01-15 15:22:49 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-01-15 15:23:15 (GMT)
commit5858d43484dca328467f3ffba6d2d8abef89cd76 (patch)
tree1c789f5880d21ca18e39ece87ee010053dffc05b
parenta4392a449e2d97b6cf9ecc604429732a05f6e460 (diff)
downloadiRony-5858d43484dca328467f3ffba6d2d8abef89cd76.tar.gz
Fix the suggested well-known URIs
-rw-r--r--README.md6
-rw-r--r--doc/iRony.conf4
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index af0bf4c..007c608 100644
--- a/README.md
+++ b/README.md
@@ -50,9 +50,9 @@ expects the CardDAV server to run at the root of the host [3].
Add following mod_rewrite configuration into virtual host config or .htaccess file:
RewriteEngine On
- #RewriteBase /
- RewriteRule ^\.well-known/caldav / [R,L]
- RewriteRule ^\.well-known/carddav / [R,L]
+ RewriteBase /
+ RewriteRule ^\.well-known/caldav / [L,R=301]
+ RewriteRule ^\.well-known/carddav / [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
diff --git a/doc/iRony.conf b/doc/iRony.conf
index 1d7b02c..f16f2c0 100644
--- a/doc/iRony.conf
+++ b/doc/iRony.conf
@@ -17,8 +17,8 @@ Alias /iRony /usr/share/iRony/public_html
RewriteEngine On
RewriteBase /iRony/
- RewriteRule ^\.well-known/caldav / [R,L]
- RewriteRule ^\.well-known/carddav / [R,L]
+ RewriteRule ^\.well-known/caldav /iRony/ [L,R=301]
+ RewriteRule ^\.well-known/carddav /iRony/ [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d