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

前端 未结 9 689
灰色年华
灰色年华 2020-12-13 00:29

I just installed xampp 1.8.0 for linux and when I opened phpmyadmin I got this error Access Forbidden!!

New XAMPP security concept:

Access to the requested objec         


        
相关标签:
9条回答
  • 2020-12-13 01:10

    On Xampp 5.6.3 Windows Path C:\xampp\apache\conf\extra\httpd-xampp.conf comment in this: #Require local

    New XAMPP security concept ... #Require local ...

    0 讨论(0)
  • 2020-12-13 01:16

    after putting "Allow from all", you need to restart your xampp to apply the setting. thanks

    0 讨论(0)
  • 2020-12-13 01:17

    Hey, use these section of code.

    Path for xampp is: apache\conf\extra\httpd-xampp.conf

     <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
            Order deny,allow
            Allow from all
            #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/HTTP_XAMPP_FORBIDDEN.html.var
        </LocationMatch>
    
    0 讨论(0)
提交回复
热议问题