Skip to content

Instantly share code, notes, and snippets.

@UncleKo
Created November 29, 2021 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UncleKo/c02da6a0bb10efbcb38411a93fa6f69a to your computer and use it in GitHub Desktop.
Save UncleKo/c02da6a0bb10efbcb38411a93fa6f69a to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName default.test
DocumentRoot /var/www/html
ServerAdmin info@default.test
ErrorLog ${APACHE_LOG_DIR}/dev-error.log
CustomLog ${APACHE_LOG_DIR}/dev-access.log combined
RewriteEngine On
<Directory /var/www/html>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName laravel55.test
DocumentRoot /var/www/html/wsl/laravel5.5/public
ServerAdmin info@laravel55.test
ErrorLog ${APACHE_LOG_DIR}/dev-error.log
CustomLog ${APACHE_LOG_DIR}/dev-access.log combined
RewriteEngine On
<Directory /var/www/html/wsl/laravel5.5/public>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName vue.test
DocumentRoot /var/www/html/wsl/vue-app/public
ServerAdmin info@vue.test
ErrorLog ${APACHE_LOG_DIR}/dev-error.log
CustomLog ${APACHE_LOG_DIR}/dev-access.log combined
RewriteEngine On
<Directory /var/www/html/wsl/vue-app/public>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wordpress.test
DocumentRoot /var/www/html/wsl/wordpress
ServerAdmin info@wordpress.test
ErrorLog ${APACHE_LOG_DIR}/dev-error.log
CustomLog ${APACHE_LOG_DIR}/dev-access.log combined
RewriteEngine On
<Directory /var/www/html/wsl/wordpress>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName council.test
DocumentRoot /var/www/html/wsl/council/public
ServerAdmin info@council.test
ErrorLog ${APACHE_LOG_DIR}/dev-error.log
CustomLog ${APACHE_LOG_DIR}/dev-access.log combined
RewriteEngine On
<Directory /var/www/html/wsl/council/public>
Options FollowSymLinks
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