Hello, I’m getting this error (Forbidden You don’t have permission to access this resource.) when trying to access phpMyAdmin.
This is the error log:
Sat Feb 05 01:50:34.501586 2022] [authz_core:error] [pid 3368847:tid 139768461502208] [client 185.174.28.74:52538] AH01630: client denied by server configuration: /home/sibhe/public_html/.env
[Sat Feb 05 01:50:34.506502 2022] [authz_core:error] [pid 3368847:tid 139768495073024] [client 185.174.28.74:52506] AH01630: client denied by server configuration: /home/sibhe/public_html/.env
[Sat Feb 05 01:50:35.165819 2022] [authz_core:error] [pid 3368847:tid 139768151136000] [client 185.174.28.74:49464] AH01630: client denied by server configuration: /home/sibhe/public_html/.env
[Sat Feb 05 01:50:35.319703 2022] [authz_core:error] [pid 3368847:tid 139769510098688] [client 185.174.28.74:49804] AH01630: client denied by server configuration: /home/sibhe/public_html/.env
hmm the error says client denied by server configuration try accessing via the url eg https//mydomain.com/phpmyadmin/index.php and not just https://mydomain.com/phpmyadmin if it works you need to look at your web server config or (if present) the .htaccess file for directives that could cause that to happen
Via the Virtualmin script. It’s working on one of the virtual servers of the same server. I’m not sure if it’s related to Drupal, which is installed on that virtual server.
I think that I found out what is blocking MyphpAdmin. It’s the .htaccess file. I renamed if from .htaccess to .htaccess_off and the MyphpAdmin is working now. Now, I don’t know how to fix that .htacess file to allow access to MyphpAdmin.
Any hint please?
Thanks!