Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wmandai/4ae34ca1b767b96743f893c257bbdfff to your computer and use it in GitHub Desktop.
Save wmandai/4ae34ca1b767b96743f893c257bbdfff to your computer and use it in GitHub Desktop.
Filename: /etc/apache2/sites-available/yoursite.conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName yoursite.com
ServerAlias www.yoursite.com
DocumentRoot "/var/www/yoursite.com/public"
<Directory /var/www/yoursite.com/public>
Options Indexes FollowSymLinks MultiViews
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