summaryrefslogtreecommitdiffstats
path: root/doc/setup.md
blob: f01a2ab6bbec4948d3dcf7bf0578559b644f0751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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" )
```