SIGN UP NOW

   Free Website Transfer
  HOSTING
   Standard
   ASP.net
   Demo
  VPS SERVERS
   Linux VPS / VDS
   Windows VPS
  DEDICATED SERVERS
   Dedicated Hosting
  RESELLERS
   White Label
   Enom Bulk Domains
  WEB SERVICES
   Site Builder !

   SEO

  ENTERPRISE
   Hosted Exchange
   SSL Certificates
   PCI Compliant
  SUPPORT
   FAQ
   Tutorials
   Forums
   Contact Us
  COMPANY
   About Us
   Press Room
   Testimonials
   Legal
   Privacy Policy
   Affiliates
   Web Hosting Blog
   Site Map
  HOME


.HTACCESS FAQ
  1. What is .htaccess?
  2. If I'm using FrontPage, can I edit the .htaccess file?
  3. How do I password protect a directory if I am using FrontPage?

1. What is .htaccess?

The .htaccess file can be placed in one or more of your /home/user/public_html subdirectories. 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.

2. If I'm using FrontPage, can I edit the .htaccess file?

NO! If you're running FrontPage, you cannot custom-edit the .htaccess file within your public_html or www space. You'll either create a security hole or break FrontPage. There are no other options. This includes ANY .htaccess file in your domain, including one in the cgi-bin. (Having said this, please note that an .htaccess file may be used in any directory within the webspace that is *not* owned by the user; for example, a directory owned by root.)

3. How do I password protect a directory if I am using FrontPage?

Visit here for more information.

4. How do I password protect directories from control panel?

Login to your control panel, click "Password Protect Directories" icon

  • Click directory name to password protect
  • Click "Folder requires a password to access via http://" and type a name such as Members in "Folder requires a password to access via http://" then click SAVE
  • Then add the username/password you want to give access to

  • As always, if you need any help at all, feel free to email us at support@canadianwebhosting.com or use the PHP Live button on the left.




          Copyright © 1998-2007 Canadian Web Hosting Inc., All rights reserved.

    SSL