Page 1 of 1

connecting phpmyadmin remotely !!

PostPosted: 27. November 2012 00:23
by BlueStar
Hi all,
I have 2 machines , both with 2 static IP's ,
when i tried to connect phpmyadmin remotely , i got this message :

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 need some help about :
1- how to configure the server to allow only for my IP to connect remotely with keep server secured .
2- which file i have to edit and it's location ?

thanks for help :)

Re: connecting phpmyadmin remotely !!

PostPosted: 27. November 2012 03:32
by JonB
The problem(s) with 'New XAMPP Security Concept' is somewhat explained here:

http://bravo.newnetenterprises.com/word ... -security/

You can start by adding the static IP of your remote machine to the 'Allow from' construct ...

The backslashes at the end-of-line position mean that the directive continues on the next line.

You can (as I recall) add a single IP/Host by simply adding it to any line in the Allow From Directive, as long as it is offset by a space.

So:

Code: Select all
 Allow from ::1 127.0.0.0/8 xx.yy.zz.nnn \


where xx.yy.zz.nnn is your dotted quad IPv4 address should work (or a :: absolute IPv6 or hostname should work too ).

Good Luck
8)