What is htaccess?
htaccess: Hypertext Access, is basically a configuration file which controls the directory in which it is placed and all the sub-directories underneath it. This file generally used on Apache based web servers to control many features of the server. It allows webmasters to control work behavior of their website. Following are the most common tasks generally every webmaster do using htaccess file:
- Redirect pages
- Change the extensions of pages
- Password protect directories
- ZIP the content before send from server to browser.
- and much much more.