What is .htaccess?

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 Users Found This Useful
Was this answer helpful?

Related Articles

Are there any extra costs involved in hosting a secure site?

Yes, you'll need to buy a digital certificate from a certificate authority.

Can I do secure business with credit cards on my site?

Yes, but there is some extra cost. You will need to purchase a dedicated IP number for your...

I wish to access to my site using https:// how can I do that?

You need a unique or static IP address which you may order from us. We need some information...

Do you provide password protection to folders?

Yes. This is easily set up through your control panel, but may not be used if you are also using...