<commit_before>Running apache instances
========================

Distributions: precise,saucy,wheezy

In some (really rare) case you may need to install an apache instance (heavily .htaccess based instances, mod_svn ...)

Installation
============

```sh
cp -R /etc/apache2 $HOME/etc
mkdir /var/log/apache2
mkdir /var/lock
```

Configuration
=============

Edit $HOME/etc/apache2/ports.conf to bind on unprivileged ports (like 8080)

Edit $HOME/etc/apache2/sites-enabled/000-default to set your DocumentRoot

Running it
==========

Use this vassal as your base configuration (for precise and wheezy)

```ini
[uwsgi]
; register the domains you need
domain = example.com
domain = example2.com
domain = .foo.bar

; load the http proxy router
plugins = router_http<commit_msg>Update apache.md<commit_after>Running apache instances
========================

Distributions: precise,saucy,wheezy

In some (really rare) case you may need to install an apache instance (heavily .htaccess based instances, mod_svn, mod_php ...)

Installation
============

```sh
cp -R /etc/apache2 $HOME/etc
mkdir /var/log/apache2
mkdir /var/lock
```

Configuration
=============

Edit $HOME/etc/apache2/ports.conf to bind on unprivileged ports (like 8080)

Edit $HOME/etc/apache2/sites-enabled/000-default to set your DocumentRoot

Running it
==========

Use this vassal as your base configuration (for precise and wheezy)

```ini
[uwsgi]
; register the domains you need
domain = example.com
domain = example2.com
domain = .foo.bar

; load the http proxy router
plugins = router_http
{'fraction_non_alphanumeric': 0.15661103979460847, 'fraction_numerical': 0.01540436456996149, 'mean_word_length': 4.860902255639098, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1732422', 'n_tokens_mistral': 505, 'n_tokens_neox': 467, 'n_words': 165}