Skip to content

Instantly share code, notes, and snippets.

@atishgoswami
Last active January 4, 2016 11:08
Show Gist options
  • Select an option

  • Save atishgoswami/8612910 to your computer and use it in GitHub Desktop.

Select an option

Save atishgoswami/8612910 to your computer and use it in GitHub Desktop.
New Apache2 new host file
<VirtualHost *:80>
DocumentRoot [path to document]
ServerName [domain name]
ServerAlias [aliases]
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory [document path]>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment