|
Q & A
|
- Does my server support .htaccess ?
In the majority of cases, if it's unix and runs the apache server then yes. The best way to find
out is by uploading a .htaccess file to a subdirectory on your server then access it with your browser
and see if it asks you for a login.
- Here's one you can use on your site : .htaccess upload this file to a directory
on your server (in ASCII mode), example : yourdomain.com/members/ then rename it to .htaccess (yes, that's a period infront of "htaccess")
- Then using your browser, go to http://www.yourdomain.com/members/ If you're prompted to enter a username and password, then it will work!
- After a member enters their username/password to the protected directory, do they need to re-enter it each time they access a new file ?
No, the way .htaccess works, is it protects all files in the directory it is in. So once a user is authenticated, they have access to everything in that folder.
But if a user bookmarks a page in the secure area, they will be required to re-enter the user/pass if they shut down their web browser and restart.
- Can I protect multiple directories with the same list of users ?
Yes, in this case, you would have the admin.cgi script only manage one of the directories for you, then all you would need to do
is copy the same .htaccess file over to the new directory you want to protect. If you look in the .htaccess file, it says right there
the full path to the .htpasswd file it will look for to authenticate users
AuthUserFile /home/secure/.htpasswd.
- Can I protect multiple directories with a different list of users ?
Yes, in this case, you just run the admin.cgi script and tell it to refresh to a new directory to access that list of users.
By doing this, each directory will have its own .htpasswd and .htaccess file.
- How do I configure the e-mail that is sent to members ?
When you add a new user, you have the option of sending them an e-mail with their new username/password (saves you the time of having to do it manually each time).
There are 4 variables in the admin.cgi script that control what is sent :
- $emailfrom : This sets the FROM: part of the e-mail, just type in your name and e-mail address here. Be sure the e-mail address has a \ before the @
- $emailsubject : Sets the subject of the e-mail "Thank you new member"
- $emailtop : The text that will appear at the top of the e-mail (before username/password)
- $emailbottom : The text that will appear at the bottom of the e-mail (after username/password)
- How do I add a long list of users at once (instead of adding them one at a time) ?
This is what the Manual Import feature does. After running the script, scroll down to "Manual Import" and you'll see a large
TEXT box, this is where you can copy/paste your list of users.
Format is : username, password, name, email, comments
Each field is separated by a comma, the script will automatically check for duplicates, valid usernames and valid passwords.
You can even skip some fields such as the name, email, comments. Let's say you have a list of username,password,email then the data you copy
and paste will look like :
jack,mypass123,,jack@jack.com
jane,jane999,,jane@jane.com
mary,mmjjuu,,mary@mary.com
Notice the 2 commas after eachother, this tells the script that the name field will be blank.
- Will this script work on NT server ?
No.
- I don't know anything about CGI, chmod etc. can I still use it ?
Not a problem, we have an "install" price
where we load the script on your web site. When you place your order, be sure to provide your URL (http://....) ftp username and password.
|