Skip to content

Instantly share code, notes, and snippets.

@habibun
Last active December 26, 2016 05:12
Show Gist options
  • Save habibun/dcb0f8f87e083872758c to your computer and use it in GitHub Desktop.
Save habibun/dcb0f8f87e083872758c to your computer and use it in GitHub Desktop.
ubuntu symfony2 virtual host
<VirtualHost *:80>
ServerName craft.local
ServerAlias www.craft.local
DocumentRoot /home/jony/Projects/craft/web
<Directory /home/jony/Projects/craft/web>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/craft.local_error.log
CustomLog ${APACHE_LOG_DIR}/craft.local_access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment