CentOS7ã§phpMyAdminã«403 forbiddenãåºããç¶ãã話
ãããªãããããªãäºã§1æéãããã¯ã¾ã£ã¦ã¾ããã
CentOS7ã§éçºç°å¢ãä½ã£ã¦ãã¦phpMyAdminãå¤é¨ããã¢ã¯ã»ã¹å¯è½ã«ãããã¨æã/etc/httpd/conf.d/phpMyAdmin.conf
ã
Order Deny,Allow #Deny from All Allow from All
ã¨å¤æ´ãã¦apacheãåèµ·åããã®ã§ãããå¤é¨ããã¢ã¯ã»ã¹ããã¨ã403 forbiddenãã¨åºã¦ã¢ã¯ã»ã¹ã§ãã¾ããã§ãããapacheã®error.logãè¦ã¦ããclient denied by server configuration: /usr/share/phpMyAdmin
ã¨ããã ãã§ããã
ãphpMyAdmin forbiddenãã¿ãããªã¡ãã£ã¨æ®å¿µãªæ¤ç´¢ã¯ã¼ãã§èª¿ã¹ã¦ã¿ãã®ã§ãããæ¡ã®å®ãAllowOverride All ã Order Allow,Denyãè¨è¿°ãã¦ããªãããã§ã¯ï¼ãã¿ãããªãµã¤ãã°ã£ããã§çºçãããã«ãªãã¾ããã
çµå±è²ã 調ã¹ãçµæãã©ãããApache 2.4ç³»ã§ã¯è¨å®ãã¡ã¤ã«ã®è¨è¿°ã®ä»æ¹ãå¤ãã£ã¦ãããããã
AllowOverride all Require all granted
ã«å¤æ´ãããç¡äºç¹ããã¾ããã
æ¢åã®ãµã¼ãã¼ãApache2.2ç³»ã°ã£ããã ã£ãã®ã§ãApache2.4ç³»ã¨ããçºæ³ãå
¨ãããã¾ããã§ããã
å以å¤ã«ãã¯ã¾ã人ãããã¨ä¿¡ãã¦ãã®ã§ãå°ãæ¥ããããã§ããã¨ã³ããªã¼ç»é²ãã¦ããã¾ãã