Created
March 14, 2020 11:52
-
-
Save csinghdev/04d527cb5e182f3f4637feb8096d6c02 to your computer and use it in GitHub Desktop.
Apache virtual host conf file
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 [email protected] | |
ServerName example.com | |
ServerAlias www.example.com | |
DocumentRoot /var/www/example | |
ErrorLog ${APACHE_LOG_DIR}/example.com-error.log | |
CustomLog ${APACHE_LOG_DIR}/example.com-access.log combined | |
<Directory /var/www/example/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from all | |
Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment