---
title: "What is htaccess? Why do we use this and Where?"  
description: "What is htaccess? Why do we use this and Where?"  
author: "Anonymous User"  
published: 2011-06-13  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/1060/what-is-htaccess-why-do-we-use-this-and-where  
category: "php"  
tags: ["php"]  
reading_time: 1 minute  

---

# What is htaccess? Why do we use this and Where?

.htaccess files are configuration files of Apache Server which provide a way to make configuration changes on a per-directory basis. A file containing one or more configuration directives is placed in a particular document directory and the directives apply to that directory and all subdirectories thereof.

## Answers

### Answer by Anonymous User

.htaccess files are configuration files of Apache Server which provide a way to make configuration changes on a per-directory basis. A file containing one or more configuration directives is placed in a particular document directory and the directives apply to that directory and all subdirectories thereof.


---

Original Source: https://www.mindstick.com/interview/1060/what-is-htaccess-why-do-we-use-this-and-where

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
