summaryrefslogtreecommitdiffstats
path: root/doc/setup.md
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-06-07 17:34:55 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-06-07 17:38:41 +0200
commit8b1c76e79716eca64b8221d8659789ddeba7c09d (patch)
tree65ed31f5797da12de2da2047e70e30101083447e /doc/setup.md
parent029c9dfed3da9282885d43c0a216ea397fac541f (diff)
doc: Import documentation from wiki
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'doc/setup.md')
-rw-r--r--doc/setup.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/setup.md b/doc/setup.md
new file mode 100644
index 000000000..f01a2ab6b
--- /dev/null
+++ b/doc/setup.md
@@ -0,0 +1,24 @@
+# Setup
+
+Set `$config['index_page'] = '';` in `application/config/config-local.php` and adjust your webserver's rewrite config.
+
+## Apache
+
+See the shipped htaccess.txt
+
+## Nginx
+
+```
+location / {
+ try_files $uri $uri/ @ee;
+}
+location @ee {
+ rewrite ^(.*) /index.php?$1 last;
+}
+```
+
+## Lighttpd
+
+```
+url.rewrite-if-not-file = ( "^(.*)$" => "/index.php/?$1" )
+```