When I try to access phpmyadmin after installing xampp in my linux system, I stuck with this error: New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf".

Screenshot:

new xampp security concept

Fix:

  • Open httpd-xampp.conf file.    In linux systems you may find this file in /opt/lampp/etc/extra/ . Incase if you use windows check here: xampp_directoryapacheconfextra
  • Find the below Config:

    # Close XAMPP sites here

    <LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">

    Order deny,allow

    Deny from all

    Allow from ::1 127.0.0.0/8

    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var

    </LocationMatch>

 

Add this line after Allow from ::1 127.0.0.0/8
Allow from all

Then, Restart xampp. It will work.


 


Comments (0)
Leave a Comment

loader Posting your comment...