개발/개발 자료

(Linux) phpMyAdmin 2.4버전이상(최신) Forbidden You don't hav permission to access / on this server .

시원한물냉 2015. 6. 13. 10:51

다음과 같은 에러가 발생한다

Forbidden You don't hav permission to access / on this server .  


 vi /etc/httpd/conf.d/phpMyAdmin.conf


블로그 아무리 뒤져봐도

#<Directory />
#    Options FollowSymLinks
#    AllowOverride None
#    Order deny,allow
#    Deny from all



# 다 주석넣으라고한다.



하지만 2.4버전부터는 조금 바뀌었다.


위에 부분 말고도 위에 Require 부분이 생겼는데  다음과 같이 수정한다



<VirtualHost *:80>
  <Directory "...( 수정하지 마세요 )">
      Require all granted
  </Directory>
</VirtualHost>





잘 된다.