Skip to content

Instantly share code, notes, and snippets.

@rogeriopradoj
Created September 24, 2012 00:38
Show Gist options
  • Select an option

  • Save rogeriopradoj/3773593 to your computer and use it in GitHub Desktop.

Select an option

Save rogeriopradoj/3773593 to your computer and use it in GitHub Desktop.
Vagrant: O que, Por que e Como - Passo 5 - 2
include apache
$docroot = '/vagrant/www/pyrocms/'
$db_location = "/vagrant/db/pyrocms.sqlite"
# Apache setup
class {'apache::php': }
apache::vhost { 'local.pyrocms':
priority => '20',
port => '80',
docroot => $docroot,
configure_firewall => false,
}
a2mod { 'rewrite': ensure => present; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment