設置 | 登錄 | 註冊

目前共有2篇帖子。

apache2.4禁止其他电脑访问phpmyadmin的解决办法

1樓 巨大八爪鱼 2013-9-1 00:31
Forbidden You don't have permission to access /phpmyadmin on this server.
Apache/2.2.17 (Fedora) Server at 219.223.251.62 Port 80

修改方法: vim /etc/httpd/conf.d/phpMyAdmin.conf
<Directory /usr/share/phpMyAdmin/>
   <IfModule mod_authz_core.c>
     # Apache 2.4
        require all granted # 加一句这个
     #<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
   </IfModule>
</Directory>



然后重启apache服务器
2樓 巨大八爪鱼 2013-9-1 11:56
wordpress也是一样的

內容轉換:

回覆帖子
內容:
用戶名: 您目前是匿名發表。
驗證碼:
看不清?換一張
©2010-2025 Purasbar Ver3.0 [手機版] [桌面版]
除非另有聲明,本站採用知識共享署名-相同方式共享 3.0 Unported許可協議進行許可。