Skip to content

Instantly share code, notes, and snippets.

@tieutantan
Last active August 11, 2018 15:06
Show Gist options
  • Save tieutantan/0265acebe9c1b5f323d69d80b5800ac4 to your computer and use it in GitHub Desktop.
Save tieutantan/0265acebe9c1b5f323d69d80b5800ac4 to your computer and use it in GitHub Desktop.
httpd-vhosts.conf of XAMPP on Ubuntu 16.04
<VirtualHost *:80>
DocumentRoot "/opt/lampp/htdocs/domain.cn/public"
ServerName domain.cn
ErrorLog "logs/domain.cn-error_log"
CustomLog "logs/domain.cn-access_log" common
<Directory /opt/lampp/htdocs/domain.cn/public>
Options Indexes FollowSymLinks
Require all granted
AllowOverride All
Order Allow,Deny
Allow From All
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment