If you encounter the following error during Remote Access to PHPMyAdmin: Forsecurityreasons, thisURLisonlyaccesibleusinglocalhost (127.0.0.1) asthehostname or timeout. Check your Apache
If you encounter the following error during Remote Access to PHPMyAdmin: For security reasons, this URL is only accesible using localhost (127.0.0.1) as the hostname or Access to the requested directory is only available from the local network. check your Apache
If the following error occurs during Remote Access to PHPMyAdmin:
For security reasons, this URL is only accesible using localhost (127.0.0.1) as the hostname
Or
Access to the requested directory is only available from the local network.
Check the configuration file of your Apache virtual directory.
Configuration File
Search for the *. conf file and you will find that there is such Code Allow from 127.0.0.1 in the phpmyadmin configuration path.
Alias /phpmyadmin "/opt/redmine-2.2.3-0/apps/phpmyadmin/htdocs"
# AuthType Basic # AuthName phpMyAdmin # AuthUserFile "/opt/redmine-2.2.3-0/apache2/users" # Require valid-user AllowOverride None php_value upload_max_filesize 80M php_value post_max_size 80M
Order allow,deny Allow from 127.0.0.1 Satisfy all
= 2.3> Require local
ErrorDocument 403 "For security reasons, this URL is only accesible using localhost (127.0.0.1) as the hostname"
Or
Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
Solution
Change Allow from 127.0.0.1 or Allow from: 1 127.0.0.0/8:
Allow from all
Restart Apache and solve the PHPMyAdmin permission problem.
(...)
Read the rest of solves the problem of remote access to PHPMyAdmin (0 words)
©Lixiphp for LixiPHP, 2013. | Permalink | No comment | Add to del. icio. us
Post tags: FORBIDDEN, PHP, PHPMyAdmin
Feed enhanced by Better Feed from Ozh