How to disable Internet access in phpmyadmin

Source: Internet
Author: User
This article describes how to disable the Internet in phpmyadmin and involves modifying the configuration file. it is a very practical technique, for more information about how to disable the Internet in phpmyadmin, see the following example. Share it with you for your reference. The specific method is as follows:

First, find phpmyadmin. conf in The phpmyadmin folder.
See the following configuration section in the file:

The code is as follows:


Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny, Allow
Deny from all
Allow from 127.0.0.1

Deny from all indicates that all access is prohibited, but access from 127.0.0.1 is allowed.
Then we will delete Allow from 127.0.0.1
And change Deny from all to Allow from all.
This means that access from all addresses is allowed.

Save the modified configuration file and restart the server to access it with the domain name.

Forbidden
You don't have permission to access/phpMyAdmin/index. php on this server.
In this case, open httpd. conf of apache and set

The code is as follows:


Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from all

Change

The code is as follows:


Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from None


You can.

I hope this article will help you with PHP programming.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.