Harvard Extension School
CSCI E-12 Fundamentals of Web Site Development | Fall 2019

## Scope of .htaccess files

Directives within `.htaccess` files apply to the directory that contains the `.htaccess` file and all its descendants.

Directives within the file,
`/home/courses/j/h/jharvard/public_html/.htaccess`
would apply to all files within and "under" the public_html directory for the user jharvard.

Directives within the file,
`/home/courses/j/h/jharvard/public_html/books/.htaccess`
would apply to all files within and "under" the public_html/books directory for the user jharvard.

Copyright © David Heitmeyer