- How to set up email account on iPhone?
- How to login webmail?
- How to login to Email Manager?
- What is IMAP?
- If my Email Service Plan do not include SMTP server, how do I send the Email?
- What is SMTP server (port 25)?
- How can I change FTP password? (For Window Platform)
- How do I create my email account?
- Error Code: 0x800CCC0E, 0x800CCC0F, 0x8004210B or 0x80042108
- Why my Outlook Express keeps trying to send a message but the Outbox appears to be empty?
- What is a DNS Record?
- How to Set Up an Email Account in Outlook 2003?
- How to upload my website to server?
- How to get the login information of Email Manager ?
- Error Code: 0x800CCC6A
- What is Web Control Panel (WCP)?
- What is a Top Level Domain (TLD)?
- What is a Mailing List?
To utilize htaccess dynamic password protection on a directory:
1. Telnet into your FTP account
telnet ftp.yourdomain.com
2. Create a passwd file. You can create a passwd file with the "htpasswd" utility on the server.
run htpasswd -c [filename] [user] 3. You will then be prompted for a password for the user. Type the password.
To add a new user to an existing password file, run the command:
htpasswd [passwd file] [user] Then you will be prompted for a password for "testpro2".
4. Create a .htaccess file. You can either create this file locally and ftp the file to the server, or you can edit the file directly on the server using the text editor pico: pico .htaccess
A standard .htaccess file contains the following:
AuthUserFile require valid-user
For example, if you want to protect a directory "testprotect" in your public_html directory, place the following .htaccess file in the testprotect directory. Be sure to include the full path including your home directory for the AuthUserFile. This assumes your document directory is located in /home/wcpdemo/testprotect, and your passwd file is named ".htpasswd" and is located in the members directory.
|