August 22, 2017, 04:31:44 PM
  Print  
Author Topic: Paid plans : Password Protection (folder security)  (Read 6527 times)
XYLEM
Administrator
Experienced Member
*****
Posts: 7440

View Profile
« on: January 28, 2006, 07:59:19 PM »

What's password protection and .htaccess?

The .htaccess file can be placed in one or more of your /www/domainname-www 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 has been 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 the directory where the requested file resides. Since the placement of the .htaccess file determines when it's been executed, this fact can be used to restrict access only in certain subdirectories.
Logged

XYLEM
Administrator
Experienced Member
*****
Posts: 7440

View Profile
« Reply #1 on: January 28, 2006, 07:59:36 PM »

I want to use .htaccess protection. I have problem using it with your system. What to do?
 Sometimes when you create manually the .htaccess file there are errors. That's why it is best for you ti add your first username and password from the Control Panel. After you add your first username and password you can start using without problem the .htaccess file with out scripts and billing companies.


I want to protect some directory (for example http://mydomain.com/only_for_members/). How to do it ?
Login to the Control Panel and select 'Password Protected Areas' . Then select the domain or the subdomain you would like to use. Next step is to write manually the directory which you want to protect. The directory must exist (i.e. it must be created already via FTP before you go to the Password protected areas. If you write a directory which does not exist you will see an error message). Once you choose the domain and the directory you will be able to add the username and password.
If you want to protect the whole domain/subdomain just leave the form for the directory empty.
Logged

  Print  
 
Jump to: