Skip to content

Instantly share code, notes, and snippets.

@n1shantshrivastava
Last active December 16, 2015 17:41
Show Gist options
  • Save n1shantshrivastava/5472567 to your computer and use it in GitHub Desktop.
Save n1shantshrivastava/5472567 to your computer and use it in GitHub Desktop.
[PHP] A simple virtual host cofiguration.
<virtualhost *:80>
ServerName app.com
ServerAlias www.app.com
DocumentRoot /var/www/nishant/blog
ErrorLog /var/log/apache2/blog_error_log
CustomLog /var/log/apache2/blog_access_log common
<Directory /var/www/nishant/blog>
AllowOverride All
</Directory>
</virtualhost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment