phpmyadmin - 禁止访问 phpmyadmin
问题描述
我无法通过此 URL 访问 phpmyadmin:
http://51.254.205.243/phpmyadmin
它给了我这个错误:
我将Require local更改为Require all grant 但错误仍然存在:
#<IfDefine PHP4>
#LoadModule php4_module modules/libphp4.so
#</IfDefine>
#<IfDefine PHP7>
#LoadModule php7_module modules/libphp7.so
#</IfDefine>
# We will enable it by default
#<IfDefine PHP>
LoadModule php7_module modules/libphp7.so
#</IfDefine>
LoadModule perl_module modules/mod_perl.so
Alias /phpmyadmin "/opt/lampp/phpmyadmin"
# since XAMPP 1.4.3
<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Require all granted
Allow from all
</Directory>
# since LAMPP 1.0RC1
AddType application/x-httpd-php .php .php3 .php4
XBitHack on
# since 0.9.8 we've mod_perl
<IfModule mod_perl.c>
AddHandler perl-script .pl
PerlHandler ModPerl::PerlRunPrefork
PerlOptions +ParseHeaders
PerlSendHeader On
</IfModule>
# demo for mod_perl responsehandler
#PerlModule Apache::CurrentTime
#<Location /time>
# SetHandler modperl
# PerlResponseHandler Apache::CurrentTime
#</Location>
# AcceptMutex sysvsem is default but on some systems we need this
# thanks to jeff ort for this hint
#AcceptMutex flock
#LockFile /opt/lampp/logs/accept.lock
# this makes mod_dbd happy - oswald, 02aug06
# mod_dbd doesn't work in Apache 2.2.3: getting always heaps of "glibc detected *** corrupted double-linked list" on shutdown - oswald, 10sep06
#DBDriver sqlite3
如果您知道我应该执行哪种配置以使其可访问,我会很高兴。
最好的
解决方案
推荐阅读
- vb.net - 为什么我从这个 If 语句中得到这个 NullObjectReference 异常?
- spring-boot - Wildfly 上 jboss 应用程序中的共享数据源
- asp.net-mvc - Angular 6 模板中的 ASP.NET MVC RenderAction
- javascript - 如何在 Node JS 中使用 Google Analytic API 获取会话的详细会话信息?
- android - 如何检测错误发生的原因
- swift - Xcode:如果前一个失败则跳过测试
- android - CalendarPickerView 中仅显示当前月份
- angularjs - AngularJS - 引导弹出窗口,如何在 ng-repeat 中正确使用“popover-is-open”
- python - 如何在 Python 中更改嵌套字典中键的值
- c++ - 在 OpenCV 中设置像素值(奇怪的结果)