403 when trying to go to phpmyadmin
Posted by: randyriegel (162.88.11.---)
Date: December 03, 2007 08:35PM

I have just started using WAMP5 version 1.6.6 today because I am taking over a project that a previous employee was working on. I can connect to the server via [localhost]. The problem I am having however is that if I try to go to phpmyadmin i get a 403 Forbidden error. Any ideas what could be causing this?

Options: ReplyQuote
Re: 403 when trying to go to phpmyadmin
Posted by: yfastud (Moderator)
Date: December 03, 2007 09:19PM

By default, phpmyadmin and sqlitemanager are blocked from outside, so if you access them either from LAN or global, you will be blocked

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 when trying to go to phpmyadmin
Posted by: quequeprocto (---.w82-127.abo.wanadoo.fr)
Date: December 04, 2007 12:28PM

hi

what can i do for unblocke phpmyadmin from outside
thanks a lot
quequeprocto

Options: ReplyQuote
Re: 403 when trying to go to phpmyadmin
Posted by: rip_pit (---.w90-5.abo.wanadoo.fr)
Date: December 04, 2007 04:27PM

I dont really know how it works with 1.6.6 but this will work with 1.7.x and 2.0 :

Edit the file phpmyadmin.conf which contains infos for the alias of phpmyadmin
(path in wamp 2.0 is : \wamp\alias\phpmyadmin.conf)

And read it carefully:

----phpmyadmin.conf----
Alias /phpmyadmin "D:/wamp/apps/phpmyadmin2.11.1/"

# to give access to phpmyadmin from outside
# replace the lines
#
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#
# by
#
# Order Allow,Deny
# Allow from all
#

<Directory "D:/wamp/apps/phpmyadmin2.11.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
----end of file phpmyadmin.conf----

Do what is written in it. Hope it will works.

---------------------------------------------
XP SP3 - pIV - 3.2Ghz - 1.5Go de ram - Wamp 2.0



Edited 1 time(s). Last edit at 12/04/2007 04:42PM by rip_pit.

Options: ReplyQuote
Re: 403 when trying to go to phpmyadmin
Posted by: yfastud (Moderator)
Date: December 04, 2007 05:15PM

If you unlock them, make sure you have proper security or anyone, even a six-year-old kid, can messes up your db server

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 when trying to go to phpmyadmin
Posted by: rip_pit (---.w90-5.abo.wanadoo.fr)
Date: December 04, 2007 05:36PM

You can allow another unique ip in the rules an ip of your lan :

if your LAN ips are like 192.168.1.10, 192.168.1.11 .... 192.168.1.x and you want to allow the computer with the ip 192.168.1.34 to access PMA, Just edit the existing file like this :

Edit /alias/phpmyadmin.conf and :
below the line :
Allow from 127.0.0.1
add a new line :
Allow from 192.168.1.34

It worked for me and i think its protected coz only 2 ips can access it (127.0.0.1/localhost and 192.168.1.34/the computer ip you want to give rights)

I Hope i'm right !

---------------------------------------------
XP SP3 - pIV - 3.2Ghz - 1.5Go de ram - Wamp 2.0

Options: ReplyQuote
Re: 403 when trying to go to phpmyadmin
Posted by: yfastud (Moderator)
Date: December 04, 2007 06:35PM

Yep, your syntax is right but it's only for your LAN ip; you can replace it w/ web ip, but it's where the problem comes from; since most people have dynamic ip, so today 123.234.345.456 is your friend, but tomorrow it might be someone else

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 when trying to go to phpmyadmin
Posted by: wizzbangca (---.hsd1.wa.comcast.net)
Date: October 10, 2011 08:58PM

wrong topic



Edited 1 time(s). Last edit at 10/10/2011 08:59PM by wizzbangca.

Options: ReplyQuote


Sorry, only registered users may post in this forum.