How to make a .htaccess file work for a Window's Apache Webserver 2.4

This is a costume list of banned IPs & subnets created by SHC.
Post Reply
southhawkct
Site Admin
Posts: 366
Joined: Sun Oct 05, 2014 9:29 pm
United States of America

How to make a .htaccess file work for a Window's Apache Webserver 2.4

Post by southhawkct » Fri Mar 20, 2015 3:29 pm

To enable the use of the .htaccess file on your Window's Apache webserver site goto

Step 1:
Apache24\conf\httpd.conf
and edit that file

Step 2:
Find

Code: Select all

AllowOverride None
and change it to

Code: Select all

AllowOverride Limit
Step 3:
Save your changes to the httpd.conf file.

Step 4:
Place the .htaccess file in the root of your web directory.

Step 5:
Restart your apache server.

That's it! Enjoy!
---
South Hawk Computing LLC Owner :ugeek:
Any advice / recommendations given on this forum should ONLY be preformed at the user's own risk. South Hawk LLC does not offer any guarantees or warranties when a user attempts to try these fixes on their own. We are NOT responsible for any damages that may or may not occur to your devices. :geek:


Post Reply