The Apache server is the most widely used web server software, so Linux users need to deal with Apache servers often. Some Linux users want the Apache server to block IP access. How do I set it up? Let's take a look at the specific operation method.
Solution:
Web Hosting .htaccess usage, it is no server administrative rights practices
order allow, deny
allow from All
deny from 124.114.0.
deny from 124.115.0.
There is a server management permission method, the example method is as follows.
options indexes followsymlinks
allowoverride none
order allow,deny
allow from all
deny from 124.114.0.
deny from 124.115.0.
deny,allow
The deny directive is evaluated before the allow directive. All access is allowed by default. Any client that does not match the deny command or matches the allow command is allowed to access the server.
If you want your Apache server in Linux to block IP access, try this method above, I believe it will bring you a surprise.
Linux Mint is a Linux distribution based on Debian and Ubuntu. It provides a free a
An executable file is a portable executable file that is used for program execution
The grep command in Linux system is mainly used to search for strings and files. In fact, the grep c
GitLab is an open source project for warehouse management systems. It is usually in
How to use and manage swap space in Linux
Steps for installing Go language on Linux system
How to put the files deleted by the Linux rm command into the garbage bin
Linux uses the cat command to display hidden characters
Linux uses vim for multiple file lookup and replacement methods
What should I do if Linux cannot be full screen under VMWare VM?
CentOS closes Ctrl+Alt+Del to restart shortcuts
How to use rz/sz tool for file transfer in Linux
Linux installation steps using Axel
Introduction to Common Disk Arrays for Linux Systems
Resource manager skills re-excavation (below)
Windows image xlive.dll is the solution for invalid images
Win10 online push Win7/Win8.1: The global network burden is huge
Windows 8 prompts to stop working every time you open IE10
LOL 4th Anniversary Fight Night Friends Calling Awards How to Receive Awards
What should I do if the Windows Audio service automatically shuts down every time I start it?
Detailed hard disk seven major faults Repair fault completely manual
PP car rental car mainly how to locate the vehicle PP car rental vehicle positioning method