How can IIS server prohibit external network access to phpmyadmin?
phpcn_u42988
phpcn_u42988 2017-10-13 22:02:37
0
2
1257

How can the iis server prohibit external network access to phpmyadmin? Thank you!


phpcn_u42988
phpcn_u42988

reply all(2)
简单生活

A few lines of code can solve the problem. The external network cannot access, and phpmyadmin can only be accessed locally. Add the following settings at the end of the httpd.config file:

<Directory "htdoc path/phpMyAdmin">

order deny,allow

Deny from all

Allow from 127.0.0.1

</Directory>


  • reply It seems that the apchahe server can be set up like this.
    phpcn_u42988 author 2017-10-14 09:19:16
A.MIXING

Just restrict the port directly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!