<commit_before># 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" )
```<commit_msg>doc/setup.md: Point to INSTALL<commit_after># Setup

For installation instructions follow `./INSTALL`.

## Fancy URLs

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" )
```
{'fraction_non_alphanumeric': 0.2134703196347032, 'fraction_numerical': 0.0045662100456621, 'mean_word_length': 3.6898395721925135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4348352', 'n_tokens_mistral': 349, 'n_tokens_neox': 326, 'n_words': 72}