Skip to content

Instantly share code, notes, and snippets.

@VasilSlavchev
Forked from sh6210/Virtual Host
Created November 5, 2020 14:25
Show Gist options
  • Save VasilSlavchev/099939f97a2f5d6eed7386ea7dc16226 to your computer and use it in GitHub Desktop.
Save VasilSlavchev/099939f97a2f5d6eed7386ea7dc16226 to your computer and use it in GitHub Desktop.
/etc/apache2/sites-available/000-default
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName phpmyadmin.dev
ServerAlias www.phpmyadmin.dev
DocumentRoot /var/www/html/phpmyadmin
<Directory "/var/www/html/phpmyadmin">
AllowOverride all
Require all granted
Options Indexes FollowSymLinks Includes
</Directory>
<FilesMatch \.php$>
# SetHandler "proxy:unix:/run/php/php5.6-fpm.sock|fcgi://localhost"
</FilesMatch>
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