さくらVPSにphpMyAdminを入れて今日から君もMySQLをブラウザから操作できるの巻
/etc/httpd/conf.d/phpMyAdmin.confの修正がキモ。
<Directory /usr/share/phpMyAdmin/> <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> Require ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 #Order Deny,Allow // コメントアウト #Deny from All // コメントアウト #Allow from 127.0.0.1 // コメントアウト #Allow from ::1 // コメントアウト Order allow,deny // 追加 Allow from all // 追加 </IfModule> </Directory>