Skip to content

Instantly share code, notes, and snippets.

@protosam
Created January 3, 2016 21:29
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 protosam/50a6f980daa2b3c4b67f to your computer and use it in GitHub Desktop.
Save protosam/50a6f980daa2b3c4b67f to your computer and use it in GitHub Desktop.
# Ensure phpMyAdmin is accessible
cat <<EOM >/etc/httpd/conf.d/phpMyAdmin.conf
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
<Directory "/usr/share/phpMyAdmin">
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
EOM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment