protobox/protobox — pull request #97 by EHLOVader (2014-04-04 21:33:11+00:00)
Title: Update Apache with vhost capabilities.

This updates protobox to allow for aliases within the config of each vhost.

Syntax would be similar to the following:
```yaml
---
apache:
install: 1
modules:
- rewrite
user: vagrant
group: www-data
default_vhost: false
mpm_module: prefork
vhosts:
-
name: lemonstand
servername: lemonstand.dev
serveraliases:
- www.lemonstand.dev
docroot: /srv/www/web/lemonstand
port: 80
setenv:
- 'APP_ENV dev'
override:
- All
aliases:
-
match: 1
source: '^/modules/(?!shop.*)(?!session.*)(?!oolemonstandbox.*)(?!core.*)(?!cms.*)(?!blog.*)(?!backend.*)(?!users.*)(?!system.*)(.*)'
target: '/srv/www/web/modules/$1'
-
match: 0
source: '/themes/'
target: '/srv/www/web/themes/'
```

Offers both `Alias` and `AliasMatch` compatibility. Also adds a directory with the same contents as the docroot.

> PR created with http://hub.github.com/
> Hopefully this works!