Skip to content

Instantly share code, notes, and snippets.

@sh6210
Created April 12, 2017 06:51
Show Gist options
  • Save sh6210/4bfb4be40dd5d195237537147dca7a40 to your computer and use it in GitHub Desktop.
Save sh6210/4bfb4be40dd5d195237537147dca7a40 to your computer and use it in GitHub Desktop.
/etc/hosts
/etc/apache2/sites-available/000-default
<VirtualHost *:80>
ServerAdmin admin@server.dev
ServerName phpmyadmin.dev
ServerAlias www.phpmyadmin.dev
DocumentRoot /var/www/html/phpmyadmin
<Directory "/var/www/html/phpmyadmin">
AllowOverride all
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from 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