개발/개발 자료
(Linux) You don't have permission to access /phpmyadmin/ on this server.
시원한물냉
2015. 6. 2. 20:10
phpMyAdmin 에 접속 하려니 다음과같은 에러가 발생..
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
Apache/2.2.15 (CentOS) Server at localhost Port 80
로컬에서는 상관없는데 서버에 올리고나면 이렇게 뜬다. 원인은 ip접속에 대한 권한이 적용해뒀기때문..
Allow 를 all로 바꿔준다.
sudo vi /etc/httpd/conf.d/phpMyAdmin.conf
1 2 3 4 | <Directory "/usr/share/phpMyAdmin" > Order allow,deny Allow from all < /Directory > |
그리고 재시작
1 | $ service httpd restart |