目前共有2篇帖子。 內容轉換:不轉換▼
 
點擊 回復
656 1
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也是一样的

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
(快捷鍵:Ctrl+Enter)
 

本帖信息

點擊數:656 回複數:1
評論數: ?
作者:巨大八爪鱼
最後回復:巨大八爪鱼
最後回復時間:2013-9-1 11:56
 
©2010-2024 Arslanbar Ver2.0
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。