XAMPP - Access to the requested object is only available from the local network XAMPP - Access to the requested object is only available from the local network apache apache

XAMPP - Access to the requested object is only available from the local network


I just fixed it !Please go to :

<Directory "C:/xampp/phpMyAdmin">    AllowOverride AuthConfig    Require local    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var</Directory>

and change all the contents as below:

<Directory "C:/xampp/phpMyAdmin">     AllowOverride AuthConfig Limit     Order allow,deny     Require all granted     Allow from all</Directory>


If you using Mac,Go to Xampp Panel > Volumes > Mount, and here you are

enter image description here

then,

  1. open httpd-xampp.conf

  2. change:

<Directory "/opt/lampp/phpmyadmin">    AllowOverride AuthConfig Limit    Require local    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var</Directory>

to:

<Directory "/opt/lampp/phpmyadmin">    AllowOverride AuthConfig Limit    Order allow,deny    Allow from all    Require all granted</Directory>

5) Restart Services


Nothing worked for me but following thing was awesome:

1) Open

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

2) Find <Directory "/opt/lampp/phpmyadmin">

3) Now just add Require all granted before

4) So the code will look like this

<Directory "/opt/lampp/phpmyadmin">    AllowOverride AuthConfig Limit    Order allow,deny    Allow from all    Require all granted</Directory>

5) Now finally Restart XAMPP