February 2018
Beginner to intermediate
348 pages
9h 40m
English
.htaccess files are small independent configuration files that webmasters are allowed to place in every single folder of their website. Upon receiving a request to access a particular folder, Apache checks for the presence of such a file and applies it to the request context. This allows webmasters to apply separate settings at multiple levels. Take a look at the following screenshot:

In the context of a client request for /downloads/protected/finances.xls, all three .htaccess files would be applied in the following order:
Read now
Unlock full access