A text file called .htaccess can be used to control web server (Apache) behavior for your web site. The other sections of this .htaccess tutorial deal with actual commands (called directives) which can be used. It configures settings for the web server per directory (the one it is placed in) and subdirectories under it.