Analyze apache IP skills

  

This article is mainly to introduce apache IP skills. The easiest way is to seal it from Apache (if you are using Apache as the server). You can either set it in the httpd.conf configuration file or set it in .htaccess. The description is as follows:

1. Set in the configuration file:

Open httpd.conf and edit the following blocks as follows:

[code] httpd.conf

<Directory “/var/www/html”> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all Deny from 124.114.0. Deny from 124.115.0. </Directory>

[code] .htaccess file method (create or open the .htaccess file in the root directory of the website, add the following content)

Order allow, deny Allow from all Deny from 124.114.0. Deny from 124.115.0 .

Copyright © Windows knowledge All Rights Reserved