Here is what my phpmyadmin.conf file looks like:
#
# Web application to manage MySQL
#
<Directory "/usr/share/phpmyadmin">
Order Deny,Allow
Allow from 192.168.0.2
Allow from 192.168.0.219
</Directory>
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
I did restart the apache service after making changes as well. I used the following commands to try to restart apache:
sudo systemctl restart httpd.service
sudo apachectl restart
The server I'm working with is running CentOS and is hosted on the same LAN and my local ip is listed under the allows. Navigating to http://serverip/phpmyadmin results in a:
Forbidden
You don't have permission to access /phpmyadmin on this server.
Message. Any ideas? I followed guides that told me to do it this way, but it just doesn't seem to want to work.
Edit: This message shows up in my httpd error_log:
AH01630: client denied by server configuration: /usr/share/phpmyadmin
But I can't find a configuration file in /usr/share/phpmyadmin.