Skip to content

Instantly share code, notes, and snippets.

@renesansz
Last active August 29, 2015 14:17
Show Gist options
  • Save renesansz/befd2eaf9b1ee2851bbd to your computer and use it in GitHub Desktop.
Save renesansz/befd2eaf9b1ee2851bbd to your computer and use it in GitHub Desktop.
Basic vhost file
# Change * or port 80 as needed
<VirtualHost *:80>
DocumentRoot "path\to-nowhere"
ServerName your-server-name-here # Sample: mywebsite.com
<Directory "path\to-nowhere">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment