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

前端 未结 9 726
灰色年华
灰色年华 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 00:55

    open your http.conf file

    vim /opt/lampp/etc/extra/httpd-xampp.conf
    

    Comment "Deny from all" in the following section,

    #
    # New XAMPP security concept
    #
    
            Order deny,allow
           #Deny 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/XAMPP_FORBIDDEN.html.var
    
    

    Edit:
    Try to add "Allow from all" before "ErrorDocument" line. Hope it helps.

提交回复
热议问题