487
edits
(Moved to new category; Additional grammar and cleanup edits.) |
(Folder to Directory.) |
||
Line 31: | Line 31: | ||
== Several .htaccess files == | == Several .htaccess files == | ||
You will find several .htaccess files in The Uniform Server. Do not remove these as they are part of The Uniform Server's security. The file in root | You will find several .htaccess files in The Uniform Server. Do not remove these as they are part of The Uniform Server's security. The file in root directory WWW controls the access to your server from the Internet and Intranet (i.e., online access). You can copy this file into any directory within your website and edit it to meet your needs. | ||
== What it affects == | == What it affects == | ||
The .htaccess file affects the | The .htaccess file affects the directory it is placed in and all sub-directories. The .htaccess file that's located in your root directory (WWW) affects your whole website and all directories and files below it. | ||
You can tailor this action so it applies to a specific sub- | You can tailor this action so it applies to a specific sub-directory by copying the .htaccess file to that directory and removing the .htaccess commands that you do not want to be applied to this directory and its sub-directories. | ||
From the viewpoint of a | From the viewpoint of a directory or file, it is the hierarchically nearest .htaccess file that affects it. | ||
== What can you do with it? == | == What can you do with it? == |