summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-29 09:48:07 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-05-29 09:48:07 (GMT)
commitad9b5530aad39c81d7f978acf192382930e75462 (patch)
treedf0f893282c25f2afacb33a8bb61b44521f72a4e /README.md
parent6ed619604322c1af128d7174b85088203e4798d0 (diff)
downloadiRony-ad9b5530aad39c81d7f978acf192382930e75462.tar.gz
Move mod_rewrite config to documentation, delete .htaccess file
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6655171..a401fd7 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,17 @@ $ chown <www-user> logs
$ chown <www-user> temp
6. Configure your webserver to point to the 'public_html' directory of this
-package as document root.
+package as document root. 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]
+
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule (.*) index.php [qsappend,last]
[1]: http://getcomposer.org