Note: This article was originally published in 2013. Some steps, commands, or software versions may have changed. Check the current Apache Web Server documentation for the latest information.

In this step-by-step guide, you’ll learn solve: apache error .htaccess: forcetype not allowed here.

How to solve: Apache error (http://en.wikipedia.org/wiki/.htaccess “.htaccess”): ForceType not allowed here

I turned on some .htaccess rules in order for the cache to perform faster but unfortunately it came with some unintended consequences: A bunch of (http://www.iana.org/assignments/http-status-codes “List of HTTP status codes”) pages and in the log files one of the errors was /../.htaccess: ForceType not allowed here. I am not sure what this means and I could not find a thing about it, but because it only showed up in a sub directory I had I matched another directory’s AllowOverride rule and that solved the issue: I had AllowOverride Indexes but when I added Limit Options and FileInfo the error went away. so the final line in the virtual host conf file is: AllowOverride Limit Options FileInfo Indexes Hope this helps people who are encountering this error and if you have any idea why it comes up please share it with us via comments. Thanks!

(http://img.zemanta.com/zemified_e.png?x-id=60e104d6-95ea-4bd2-8f06-652892899818)](http://www.zemanta.com/?px “Enhanced by Zemanta”)

Summary

You’ve successfully learned solve: apache error .htaccess: forcetype not allowed here. If you run into any issues, double-check the prerequisites and ensure your Apache Web Server environment is properly configured.