[root@centos ~]# vi /etc/httpd/conf.d/phpMyAdmin.confソス@ソスソスソス@phpMyAdminソスpApacheソスン抵ソスtソス@ソスCソスソスソスメ集
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
Require ip 192.168.1.0/24ソス@ソスソスソス@ソスヌ会ソス(ソスソスソスソスソスlソスbソスgソスソスソス[ソスN(ソスソス:192.168.1.0/24)ソスソスソスソスフアソスNソスZソスXソスソスソスソスソスソス)
</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
Allow from 192.168.1.0/24ソス@ソスソスソス@ソスヌ会ソス(ソスソスソスソスソスlソスbソスgソスソスソス[ソスN(ソスソス:192.168.1.0/24)ソスソスソスソスフアソスNソスZソスXソスソスソスソスソスソス)
</IfModule>
</Directory>
<Directory /usr/share/phpMyAdmin/setup/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
Require ip 192.168.1.0/24ソス@ソスソスソス@ソスヌ会ソス(ソスソスソスソスソスlソスbソスgソスソスソス[ソスN(ソスソス:192.168.1.0/24)ソスソスソスソスフアソスNソスZソスXソスソスソスソスソスソス)
</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
Allow from 192.168.1.0/24ソス@ソスソスソス@ソスヌ会ソス(ソスソスソスソスソスlソスbソスgソスソスソス[ソスN(ソスソス:192.168.1.0/24)ソスソスソスソスフアソスNソスZソスXソスソスソスソスソスソス)
</IfModule>
</Directory>
[root@centos ~]# systemctl reload httpdソス@ソスソスソス@Apacheソスン定反ソスfソスソスCentOS7ソスフ場合
|
|