Last active
January 22, 2019 21:03
-
-
Save djordjecupic/e3bb9dc85dd8621b63c58d68e4ca1d89 to your computer and use it in GitHub Desktop.
Bare-bones Apache Virtual Host configuration template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin admin@example.com | |
ServerName example.com | |
ServerAlias www.example.com | |
DocumentRoot /var/www/example.com/public_html | |
<Directory /var/www/example.com/public_html> | |
Options -Indexes +FollowSymLinks | |
AllowOverride All | |
</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