[CentOS] Re: Forbidden error 403: You don't have permission to access /phpMyAdmin/ on this server.
After installing the phpMyadmin in Centos 6.4, I try to open in browser by assign this 172.16.1.251/phpmyadmin, it was opening but when try to open it from other machine it was not, so the solution I applied is given below:
[root@myhost~]vi /etc/httpd/conf.d/phpMyAdmin.conf
In section
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 172.16.1.251
Allow from ::1
</IfModule>
change as follows:
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
#Deny from All
Allow from 172.16.1.251
Allow from ::1
Allow from all
</IfModule>
and save and quit.
Then restart
#service httpd restart
After installing the phpMyadmin in Centos 6.4, I try to open in browser by assign this 172.16.1.251/phpmyadmin, it was opening but when try to open it from other machine it was not, so the solution I applied is given below:
[root@myhost~]vi /etc/httpd/conf.d/phpMyAdmin.conf
In section
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 172.16.1.251
Allow from ::1
</IfModule>
change as follows:
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
#Deny from All
Allow from 172.16.1.251
Allow from ::1
Allow from all
</IfModule>
and save and quit.
Then restart
#service httpd restart