summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/iRony.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/iRony.conf b/doc/iRony.conf
new file mode 100644
index 0000000..1d7b02c
--- /dev/null
+++ b/doc/iRony.conf
@@ -0,0 +1,27 @@
+# A suggested default configuration file for iRony under httpd
+
+Alias /iRony /usr/share/iRony/public_html
+
+<Directory "/usr/share/iRony/public_html/">
+ AllowOverride All
+
+ <IfModule mod_authz_core.c>
+ # Apache 2.4
+ Require all granted
+ </IfModule>
+ <IfModule !mod_authz_core.c>
+ # Apache 2.2
+ Order Allow,Deny
+ Allow from All
+ </IfModule>
+
+ RewriteEngine On
+ RewriteBase /iRony/
+ 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]
+
+</Directory>