Solved

accesss to phpmyadmin from WAN

Posted on 2010-09-20
6
679 Views
Last Modified: 2013-12-12
Hi
I have a simple question about phpmyadmin
I can use it on lan but not on wan

I have changed the settings to :
----------------------------------
 Order Allow,Deny
 Allow from all
---------------------------------

But i am not sure to how to access it
I am using WAMP Server so phpmyadmin is in C:\wamp\bin folder

We have about 20 virtual hosts on our server

How to I setup phpmyadmin so I can type a path in the browser and get access to it from WAN:

Regards
Morten
0
Comment
Question by:morten444
6 Comments
 
LVL 3

Expert Comment

by:lazypeople
ID: 33716720
Did you modify your .htaccess file? or the main apache config file you might find that the apache has limited the IP's to local IP's for that directory. for security reasons.
0
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 33716799
On ours we deny all IPs except an approved list of IPs

Order Deny,Allow
Deny from all
Allow from 111.222.333.444
Allow from 11.22.33.44
...etc

It means that you have to use static IP addresses but it keeps the hackers out of phpMyAdmin. Also consider changing the name of the folder (and DON'T use "pma" it is the next guess hackers try after "phpmyadmin").

If you cannot use static IPs then consider implementing an .htpasswd file with a different password from phpmyadmin.
0
 

Author Comment

by:morten444
ID: 33716902
Hi
Thanks for your replies
My problem is what do I write in the URL line to access?

I have a domain like www.eadvice.dk

Do I just move the phpmyadmin folder from C:\wamp\bin  to C:\wamp\www\domainfolder\  ?
Do i write something into the "virtual host" file?

I have tried that but does not work.
I think i have got the permission correct. problem is I dont know how to access it via an URL
0
 

Accepted Solution

by:
morten444 earned 0 total points
ID: 33720507
Found out my self
Inside the www\alias there is a phpmyadmin.conf file
I can change alias here to xxxx
then i can access phpmyadmin from www.domain.com\xxxx

0
 
LVL 15

Expert Comment

by:samri
ID: 33755378
MOds:  I would recommend PAQ and refund.  This is a good solution, and I hate to let it erased.  Cheers.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question