Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 object is only available from the local network.  This setting can be configured in the file "httpd-xampp.conf". 

I tried this post but with no luck. please help. I am opening it from my own PC not from any other network.

like image 299
Pramodh Avatar asked Aug 17 '12 03:08

Pramodh


1 Answers

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 # <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">         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 </LocationMatch> 

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

like image 135
vkGunasekaran Avatar answered Oct 24 '22 00:10

vkGunasekaran