Window's Apache 2.4 Webserver .htaccess makes web stie slow fix
Posted: Sun Mar 22, 2015 2:08 pm
Has your Window's Apache 2.4 Webserver gotten slow because of a large .htaccess file? Well its because that file has to be read off of your hard drive for each request for an object on that page. My work around is this.
Step 1:
Apache24\conf\httpd.conf
and edit that file
Step 2:
Find
add the contents of your .htaccess file after that. Here's an example of a completed one
Step 3:
Save your changes to the httpd.conf file.
Step 4:
Restart your apache server.
That's it! Enjoy!
Now your custom ban list is now loaded into memory and you no longer have slow load times on your windows 2.4 Apache webserver.
Step 1:
Apache24\conf\httpd.conf
and edit that file
Step 2:
Find
Code: Select all
#
# Controls who can get stuff from this server.
#
Require all granted
Code: Select all
#
# Controls who can get stuff from this server.
#
Require all granted
order allow,deny
deny from 96.47.226.0/24
deny from 1.6.0.0/15
deny from 1.22.0.0/15
deny from 1.38.0.0/15
deny from 217.147.243.88/29
deny from 217.147.244.216/29
allow from all
Save your changes to the httpd.conf file.
Step 4:
Restart your apache server.
That's it! Enjoy!
Now your custom ban list is now loaded into memory and you no longer have slow load times on your windows 2.4 Apache webserver.