Skip to content

Instantly share code, notes, and snippets.

@petemcw
Created August 31, 2011 14:33
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 petemcw/1183684 to your computer and use it in GitHub Desktop.
Save petemcw/1183684 to your computer and use it in GitHub Desktop.
Sample Apache vhost Configuration File
<VirtualHost *:80>
DocumentRoot "/path/to/web/files/"
ServerAdmin webmaster@localhost
ServerName localhost
#SetEnv MAGE_IS_DEVELOPER_MODE true
#SetEnv MAGE_RUN_CODE storecode
#SetEnv MAGE_RUN_TYPE website
<Directory "/path/to/web/files/">
Options -Indexes -MultiViews +FollowSymLinks
AllowOverride all
Order deny,allow
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment