Vote Up 0 Vote Down

new xampp security concept access to the requested object

I got the following error when I go the phpmyadmin (http://localhost/phpmyadmin/) in my browser.

new xampp security concept access to the requested object is only available from the local network

I am using ubuntu. I can access mysql database from the terminal. But I can't access phpmyadmin from the browser. What is the solution for this ?
flag

Answers


Vote Up 0 Vote Down
You have to edit the httpd-xampp.conf file. Backup that file and edit with root permissions .

Step 1:

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


(or)

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


Step 2:

Add the following lines :

Allow from all
Require all granted


to the following location on that file.

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


Step 3:

Restart xampp

sudo /opt/lampp/lampp restart


Now go to http://localhost/phpmyadmin/ to see it is working.
flag | link |
Vote Up 0 Vote Down
i did what you writed ,but it still not working !!! what's the problem? i have added the code to the httpd-xampp-conf
flag | link |

It should work. Check if it was correctly saved. Do you restarted xampp after that ?

jayan on 2/5/13

Your Answer

Login before answering

Login with facebook