Last active
January 1, 2025 19:41
-
-
Save pritdeveloper/549542016e7f57c8c295e068b99c5e1e to your computer and use it in GitHub Desktop.
Linux host file
This file contains hidden or 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> | |
ServerName local | |
DocumentRoot /var/www/vhosts/ | |
# Only log error and not warnings or other notices | |
# change to info to log everything | |
LogLevel error | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory /var/www/vhosts> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment