Last active
July 26, 2023 08:26
-
-
Save rakibhasansabbir/a934aa845e44a6b42c92df39ef3bcb57 to your computer and use it in GitHub Desktop.
Every time a new project arises, we have to set up the sites configuration, but this is not something we have to remember to do.
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.your_domain.test | |
| ServerAdmin [email protected] | |
| DocumentRoot /var/www/project_root_directory | |
| <Directory /var/www/project_directory_name> | |
| 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