Skip to content

Instantly share code, notes, and snippets.

@swichers
Last active March 23, 2016 01:55
Show Gist options
  • Save swichers/ac5afb4d3d060ab97385 to your computer and use it in GitHub Desktop.
Save swichers/ac5afb4d3d060ab97385 to your computer and use it in GitHub Desktop.
httpd.conf skeleton for Ubuntu
<VirtualHost *:80>
ServerName example.local
ServerAlias www.example.local
ServerAdmin webmaster@localhost
DocumentRoot /path/to/project
<Directory "/path/to/project">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment