Skip to content

Instantly share code, notes, and snippets.

@ldong
Created February 27, 2017 04:16
Show Gist options
  • Save ldong/c515a78c5ee4a0447ec0cb02d8b4f6e6 to your computer and use it in GitHub Desktop.
Save ldong/c515a78c5ee4a0447ec0cb02d8b4f6e6 to your computer and use it in GitHub Desktop.
Apache Server Config
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        <Directory /var/www/html/>
            Options Indexes FollowSymLinks
            AllowOverride All
            Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment