Jump to content


Photo

Access phpadmin over VPN connection


  • Please log in to reply
2 replies to this topic

#1 devo

devo

    Newbie

  • Member
  • Pip
  • 4 posts
  • Main OS: Windows XP

Posted 04 November 2011 - 09:46 PM

I have just set up a VPN connection to the computer running Uniform Server 7.0 on Windows 7. While remotely connected through the VPN tunnel, I am able to access the web pages hosted locally on the Uniform Server by entering the local computer's IP address. However I am unable to connect to the phpadmin console because I am getting a 403 Forbidden error message from my browsers (I have tried Firefox, Chrome and Opera).

Is there a permissions/authentication setting that I am missing? Or how should I go about connecting to mySQL through the VPN tunnel?

Thanks for any advice,

Devo

#2 BobS

BobS

    Project Helper

  • Super Moderator
  • PipPipPip
  • 334 posts
  • Location:Santiago Chile
  • Interests:Retiring, computer systems, system design, model railroads....
  • Wiki ID: BobS
  • Main OS: Windows 7

Posted 05 November 2011 - 12:48 PM

Security for phpMyAdmin is controlled via UniServer\home\admin\www\.htaccess. Edit this file and add the IP of your VPN. Exactly what that address is depends on the nature of your VPN setup.
For example, putting in
Allow from 192.168
will enable any machine on your LAN. This will enable a router-based VPN that terminates at address 192.168.54.1.

Regards,
BobS

#3 devo

devo

    Newbie

  • Member
  • Pip
  • 4 posts
  • Main OS: Windows XP

Posted 12 November 2011 - 05:29 PM

Thank you for your quick response and good information BobS!

That worked great.

Devo.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users