Access to the requested object is only available from the local network phpmyadmin

Access to the requested object is only available from the local network phpmyadmin
  • sudo /opt/lampp/etc/extra/httpd-xampp.conf
Comment “Deny from all” in the following section,
     Change file
    #
# New XAMPP security concept
#
<LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”>
Order deny,allow
#Deny from all
#Require local
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16

        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

</LocationMatch>

  • sudo /opt/lampp/etc/extra/httpd-xampp.conf

Add this code…. 🙂

# since XAMPP 1.4.3
<Directory “/opt/lampp/phpmyadmin”>
AllowOverride AuthConfig Limit
Order allow,deny
Require all granted
Allow from all
</Directory>

Leave a Reply

Your email address will not be published. Required fields are marked *