On a new webserver (Centos 6.8) I installed phpMyAdmin via the CentOS package in order to make updates easier. It installed in /usr/share/phpMyAdmin. I gave ownership of all the files in there to the user and group that Apache runs as, and set permissions of 744.
I have set up a VirtualHost sql.example.com - for security I have not created a DNS record - the one or two people who will use it can use their hosts file.
However, I cannot access it, with the error message saying access denied due to server configuration. Which of the following do I need to do...
- change ownership of the directory itself (usr/share/phpMyAdmin)?
- point the virtualHost to /var/www/sql.example.com/public_html and create a simlink? or
- create /var/www/sql.example.com and move all the files there? (and will this break updates via Yum?