Hotlink protection and hidden version of apache
Experimental environment: one linux host as the server and two win10 as the test machine
Experimental procedure
Mount source code package, extract, configure, compile, install (process can refer to the previous blog, be sure to configure rewrite module, this is hotlink protection)
The following code, install, make,make install
Because domain name resolution is involved, install the dns service
The installation of the two services is complete, and the configuration is completed.
Dns
Dnsf service configuration is complete, start, turn off firewall, enhanced security features
Apache
Enter profile changes
Add a picture to the home page of the website
Configuration complete, start the service
Two clients write down the dns parsing address and try to access
Another client acts as a hotlink to build a website first.
Use the test machine to access the win10 address of the website
Successful theft of chain
The following hotlink protection operation is performed to change the configuration file on the server.
Restart the service, testing
Hidden version