In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces what the configuration file of phpmyadmin under linux means. It is very detailed and has certain reference value. If you are interested, you must finish it.
Problem found:
Configuration file of phpmyadmin under linux
Alias / phpMyAdmin / usr/share/phpMyAdminAlias / phpmyadmin / usr/share/phpMyAdmin # Apache 2.4 Require ip 127.0.0.1 Require ip:: 1 # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from:: 1
My Apache version is 2.4. the above is a paragraph in / etc/httpd/conf.d/phpMyAdmin.conf, but I don't quite understand the specific meaning. Please explain it.
The explanation is as follows:
# Virtual directory http://localhost/phpMyAdmin points to / usr/share/phpMyAdminAlias / phpMyAdmin / usr/share/phpMyAdmin# virtual directory http://localhost/phpmyadmin points to / usr/share/phpMyAdminAlias / phpmyadmin / usr/share/phpMyAdmin# directory related settings # mod_authz_core.c is a new permission verification module after apache 2.3. here we distinguish the apache version by judging whether this module exists or not. # if there is an indication that the current apache version is at least 2.3# the following line of comment indicates that when the apache version is 2.4, the new access control method # Apache 2.4 # meets any of the following conditions # the user's request IP is native (IPv4) Require ip 127.0.0.1 # the user's request IP is local (IPv6) Require ip:: 1 # access control block ends # module determines the block end # if there is no mod_authz_core.c, the current apache version is lower than 2.3 # the following line of comment indicates that # Apache 2.2 will be executed when the apache version is 2.2 # mod_authz_host provides the old-fashioned permission control writing method Deny to express whitelist mode Order Deny before Allow # prohibits all requests except the following Allow Deny from All # allow local access (IPv4) Allow from 127.0.0.1 # allow local access (IPv6) Allow from:: 1 # module determines the end of the block # Directory setting block ends
And this is not the configuration file for phpMyAdmin. This is Apache's...
The above is all the content of this article "what is the meaning of the configuration file of phpmyadmin under linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.