Page 1 of 1

Accessing phpmyadmin on vicidialNOW

PostPosted: Tue May 25, 2010 5:56 pm
by gerald_lyc
Can someone tell me how to login in the phpmyadmin when using vicidialNOW please? I am having this error message :

You don't have permission to access /phpmyadmin/ on this server.
Apache/2.2.3 (CentOS) Server at 10.10.8.200 Port 80

Thanks

PostPosted: Tue May 25, 2010 6:15 pm
by williamconley
i think it's a "case" issue. it may be phpMyAdmin instead of phpmyadmin

PostPosted: Tue May 25, 2010 6:22 pm
by williamconley
on the other hand ...

nano /etc/httpd/conf.d/phpmyadmin.conf

if this file says your IP address is denied, you'll not be able to pull the page.

PostPosted: Wed May 26, 2010 3:02 am
by gerald_lyc
How can we resolve this issue then? why the IP address is denied?

PostPosted: Wed May 26, 2010 8:55 am
by williamconley
remember that phpMyAdmin is a direct link to your data. It is necessary to protect this from predators, and if you have default passwords in use ... anyone with your IP address could theoretically log in and steal your data AND make modifications to allow access to your entire system.

So the standard setup is for access to phpMyAdmin only from the local subnet that the machine is on.

If you want to make an exception to this rule, you should make it only for specific IP addresses, to be sure you are not invaded.

p

PostPosted: Wed May 26, 2010 9:43 am
by gerald_lyc
on the other hand ...


if this file says your IP address is denied, you'll not be able to pull the page.

Can i modify the ip in the page for it to allow access? my ip is 10 10 10 10

PostPosted: Wed May 26, 2010 9:45 am
by williamconley
replace "192.168" with "10.10"

PostPosted: Wed May 26, 2010 11:16 am
by gerald_lyc
# Web application to manage MySQL
#

<Directory "/usr/share/phpmyadmin">
Order Deny,Allow
Deny from all
Allow from 127 0 0 1 10 10
</Directory>

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin

still not good :( for 10 10 10 10/phpMyAdmin/

Forbidden

You don't have permission to access /phpMyAdmin/ on this server.
Apache/2.2.3 (CentOS) Server at 10 10 10 10 Port 80

PostPosted: Wed May 26, 2010 11:32 am
by gardo
You forgot the dots (.). IP addresses have dots in between them. 127.0.0.1, 10.0.0.1 and etc.

Reload apache after editing.

service httpd reload

PostPosted: Wed May 26, 2010 11:40 am
by gerald_lyc
working great thanks