connecting phpmyadmin remotely !!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

connecting phpmyadmin remotely !!

Postby BlueStar » 27. November 2012 00:23

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 :)
BlueStar
 
Posts: 1
Joined: 27. November 2012 00:13
Operating System: Win 7

Re: connecting phpmyadmin remotely !!

Postby JonB » 27. November 2012 03:32

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 110 guests