Skip to content

Instantly share code, notes, and snippets.

@vmasciotta
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmasciotta/383ea0e883dfd5a494a8 to your computer and use it in GitHub Desktop.
Save vmasciotta/383ea0e883dfd5a494a8 to your computer and use it in GitHub Desktop.
Example Demo VirtualHost Magento
NameVirtualHost *:80
Include /etc/httpd/vhosts.d/*.conf
<VirtualHost *:80>
DocumentRoot /var/www/html/vhosts/magento
ServerName magento.localhost
ServerAdmin demo@demo.com
<Directory /var/www/html/vhosts/magento>
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