Get the App
SLTechnology News&Howtos  ›  Database  › 

What does the configuration file of phpmyadmin under linux mean?

Shulou Source: shulou.com Published: 2022-05-31 13:54:51 12月05日 Update

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!

Tags: Version file configuration block permission module directory meaning content control line writing pointing time comment user article native new this is not Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux NVidia vpn MySQL Microsoft