设置 | 登录 | 注册

作者共发了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许可协议进行许可。