Skip to content

Instantly share code, notes, and snippets.

@adamcrews
Created April 29, 2014 18:53
Show Gist options
  • Save adamcrews/11408770 to your computer and use it in GitHub Desktop.
Save adamcrews/11408770 to your computer and use it in GitHub Desktop.
NameVirtualHost <%= @vhost_name %>:<%= @port %>
<VirtualHost <%= @vhost_name %>:<%= @port %>>
ServerName <%= @servername %>
DocumentRoot <%= @docroot %>
<Directory <%= @docroot %>>
Options <%= @options %>
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog <%= @logdir %>/<%= @name %>_error.log
LogLevel warn
CustomLog <%= @logdir %>/<%= @name %>_access.log combined
ServerSignature Off
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment