<commit_before>For multisite installations, make the changes outlined in the [Local Drupal codebase](local-codebase.md) guide, but, using the `apache_vhosts` variable, configure as many domains pointing to the same docroot as you need:

```yaml
apache_vhosts:
  - servername: "local.my-drupal-site.com"
    documentroot: "/var/www/my-drupal-site"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ drupal_core_path }}"
  - servername: "local.second-drupal-site.com"
    documentroot: "/var/www/my-drupal-site"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ drupal_core_path }}"
  - servername: "local.third-drupal-site.com"
    documentroot: "/var/www/my-drupal-site"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ drupal_core_path }}"
```

If you need additional databases and database users, add them to the list of `mysql_databases` and `mysql_users`:

```yaml
mysql_databases:
  - name: drupal
    encoding: utf8
    collation: utf8_general_ci
  - name: drupal_two
    encoding: utf8<commit_msg>Improve multisite docs by matching ProxyPassMatch with documentroot value [ci skip]<commit_after>For multisite installations, make the changes outlined in the [Local Drupal codebase](local-codebase.md) guide, but, using the `apache_vhosts` variable, configure as many domains pointing to the same docroot as you need:

```yaml
apache_vhosts:
  - servername: "local.my-drupal-site.com"
    documentroot: "/var/www/my-drupal-site"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/my-drupal-site"

  - servername: "local.second-drupal-site.com"
    documentroot: "/var/www/my-drupal-site"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/my-drupal-site"

  - servername: "local.third-drupal-site.com"
    documentroot: "/var/www/my-drupal-site"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/my-drupal-site"
```

If you need additional databases and database users, add them to the list of `mysql_databases` and `mysql_users`:

```yaml
mysql_databases:
  - name: drupal
    encoding: utf8
    collation: utf8_general_ci
  - name: drupal_two
    encoding: utf8
{'fraction_non_alphanumeric': 0.15420760358821017, 'fraction_numerical': 0.028193079880392994, 'mean_word_length': 3.57421875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 9, 'xml': 0}, 'pii_count': 6, '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': '1977959', 'n_tokens_mistral': 866, 'n_tokens_neox': 808, 'n_words': 182}