Skip to content

Instantly share code, notes, and snippets.

@danhper
Created March 17, 2013 18:52
Show Gist options
  • Save danhper/5183036 to your computer and use it in GitHub Desktop.
Save danhper/5183036 to your computer and use it in GitHub Desktop.
httpd-vhosts.conf
NameVirtualHost *:80
<VirtualHost *:80>
<Directory "E:/Documents/blog">
Require all granted
</Directory>
DocumentRoot "E:/Documents/blog"
ServerName localhost
DirectoryIndex index.html
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment