Among other things, this file can be used to restrict access to other files and web pages. When a request for a web page is made, the web server first checks for an .htaccess file. The server begins this check by looking for .htaccess in the root of the current web directory, and on down the directory tree until it reaches the directory where the requested file resides. Since the placement of the .htaccess file determines when it is executed, this fact can be used to restrict access only in certain subdirectories. The .htaccess file can be placed in one or more of your /home/$user/$domain-www subdirectories. Do not edit the .htaccess file if you are using MS FrontPage! FrontPage uses the .htaccess file, and editing it may cause errors in your configuration.
- 1 Користувачі, які знайшли це корисним