summaryrefslogtreecommitdiffstats
path: root/doc/setup.md
diff options
context:
space:
mode:
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" )
+```