Solve the Problem of remote access to PHPMyAdmin

Source: Internet
Author: User
Tags redmine
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.