Skip to content

Instantly share code, notes, and snippets.

@tuanhaviet22
Last active October 31, 2021 03:07
Show Gist options
  • Save tuanhaviet22/7c2f230f4f6b1ecc1f0d1a61f6a0bdb5 to your computer and use it in GitHub Desktop.
Save tuanhaviet22/7c2f230f4f6b1ecc1f0d1a61f6a0bdb5 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
DocumentRoot /media/data/websites/dev.domain.com/
ServerName dev.domain.com
ServerAlias *.dev.domain.com
VirtualDocumentRoot /media/data/websites/dev.domain.com/%1/
<Directory /media/data/websites/dev.domain.com>
AllowOverride All
</Directory>
LogLevel debug
ErrorLog /home/log/apache2/dev.domain.com_error.log
CustomLog /home/log/apache2/dev.domain.com_access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment