Membership Management installation documentation

Help for setting up the Membership Management script

Note: delete the install script (install.pl) after you have finished the installation.
The install script is the only way I know to hack the Membership Management script.



top
Version

Program Name : Members Admin CGI
Version : 2.0
Last Modified : 20 Mar 2008
Made : Hand made


top
Features

This script manage all your members from your member page.

The features of Members Admin CGI are:

Password protection from your web site.
Form fields checking.
Approve members by the administrator or automatic.
Mail to all members.
Automatic addition and deletion to .htpasswd or .nsconfig files.
Form fields checking.
Track logins and bad logins.
Find automatic members account for lost username and passwords.
Full search for members by the administrator.
Updating from membership information by the administrator.
Updating from membership information by the members.
Administration control panel.
And More......


top
System requirements

A unix (linux) web server.
Perl version 5 or higher.
A web server that is compatible with Apache version 1.3 or higher (most are).
A web page that allows custom CGI.
The ability to write custom .htaccess files.
For to see who are online (the online.pl file) SSI Server Side Include.


top
Installation with the install shield

This is the most easy way for to install the script.

Open the admin.pl, find.pl, form.pl, guard.pl, online.pl and update.pl files with your favorite text editor and look for the line.

#!/usr/local/bin/perl
If needed change the path to Perl.

Make a directory in your cgi-bin directory something like members. Upload everything in the same context to your /cgi-bin/members directory. Upload everything in ASCII mode except the images upload the images in BIN mode (be sure of that other why the script is not working)

Note : For the Windows users. Auto detect is many times not good working.
Chmod the members directory to 755.
Chmod the install.pl to 755.
Chmod the members.cfg to 666.
And open the install.pl with your browser.
Follow the instructions in the script.


top
Installation and configuration with out the install shield

Open the admin.pl, find.pl, form.pl, guard.pl, online.pl and update.pl files with your favorite text editor and look for the line.

#!/usr/local/bin/perl
If needed change the path to Perl.

Open the members.cfg with your favorite text editor and follow the instructions in the file.


top
Directories and file upload

Make a directory in your cgi-bin directory something like members. Upload everything in the same context to your cgi-bin/members directory. Upload everything in ASCII mode except the images upload the images in BIN mode (be sure of that other why the script is not working)

Note : For the Windows users. Auto detect is many times not good working.


top
Directories and Files Permissions

For the /members directory chmod 755
For the files in the members directory
admin.pl chmod 755
guard.pl chmod 755
form.pl chmod 755
find.pl chmod 755
online.pl chmod 755
update.pl chmod 755
members.cfg chmod 666

For the /members/lib directory chmod 777
For the files in the /members/lib directory
add_member.pl chmod 755
admin_html.pl chmod 755
mail.pl chmod 755
proc_await.pl chmod 755
proc_member.pl chmod 755
search.pl chmod 755
special.pl chmod 755

For the /members/data directory chmod 777
For the files in the /members/data directory
All the files chmod 666

For the /members/data/pass directory chmod 777
For the /members/data/temp directory chmod 777
For the /members/data/user directory chmod 777
For the /members/data/templates directory chmod 777


top
The .htaccess and .htpasswd files

The .htaccess file is for to password protect your members page or directory, and to protect your data files. In the .htpasswd file are the login names and passwords.

Examples for to set up .htaccess protection:

For password protecting the member page.

Create a directory in your main directory something like /members. Create the follow text file named .htaccess. And place that file in the /member directory. Write this in the text file:

Basic:
AuthUserFile /full/path/to/your/members/.htpasswd
AuthType Basic
AuthName "Member page"
require valid-user
Digest:
AuthDigestFile /opt/guide/www.widexl.com/.htpasswd
AuthType Digest
AuthName "Member page"
require valid-user
For password protecting the admin.pl.

Create the follow text file named .htaccess. And place that file in the directory where is the admin.pl. Write this in the text file:

<files "admin.pl">
AuthUserFile /full/path/to/your/admin/.htpasswd
AuthType Basic
AuthName "Members Admin CGI Administrator"
require valid-user
</files>
For counting the (bad) logins).

Create the follow text file named .htaccess. And place that file in the main directory of your web page. Write this in the text file:

ErrorDocument 401 /cgi-bin/members/guard.pl?401

Where /cgi-bin/members/guard.pl is the URI to your online.pl and not the full PATH. If the full URL to the guard.pl is: http://www.widexl.com/cgi-bin/members/guard.pl. Than is the URI /cgi-bin/members/guard.pl.


top
Who is online

We have include the Vistor Online script for the to display the 'Who is online'. Look in the v-online_1.05.zip zip file for the script and install documentation. You need to have SSI (Server Side Include) enabled on your web page.


top
Trouble Shooting

One of the most common errors is (failed script errorcode 500), and can mean a lot of things.

1. Have you upload the scripts in BIN mode? upload all the scripts in ASCII mode.
2. The path to perl? /usr/local/bin/perl
3. Have you set the permissions of the files? All the scripts need the file permission (755).
4. Has the code changed when you edited the script? Some editors change to code when you edit the script.
If you use Windows. Wordpad is a good editor for CGI scripts.


I don't get the popup login but a login form.

Some times the .htaccess protection is not working in the cgi-bin directory. In that case the password and user name for the admin script is in the admin.pl file. close under the lines.

###########################
## EDIT THE VARIABLES BELOW
###########################


The images are not displayed in the admin script.

In some cases the you are not allowed to display files in the cgi-bin directory. In some other cases, all the files in the cgi-bin directory are executed if they are a cgi script. Put in that case all the images outside the cgi-bin.


I have put the .htaccess file in the members directory but there is no login screen.

Are you allowed to use custom .htaccess files on your server? For this kind of password protecting you had to be allowed use custom .htaccess files.


top
Copyright Information

Copyright © 2000. Henk Boonstra. All Rights Reserved.

This script Members Admin CGI is a commercial release.

Selling the code for this program, or a program derived from Members Admin CGI, without prior written consent is expressly forbidden. Similarly, redistributing this program, or a program derived from Members Admin CGI, over the Internet, CD-Rom or any other medium is expressly forbidden without prior written consent. By using this program you agree to conditions above.


top
Warranty Disclaimer

THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Search

Tools Online SEO Tools

» Keyword Ranking
» Link Popularity Check
» Search Engine Saturation
» Meta Tag Analyzer

New Programs

» Membership Management
» Membership Management SQL
» Link Directory
» Link Directory SQL

New SEO Programs

» Meta Tag Analyzer
» Link Popularity
» Search Engine Saturation

New Free Programs

» Download Tracker
» Page Guard Pro
» Server Info

Tutorials Tutorials

» Link Popularity tutorial
» Module Rewrite guide
» Htaccess guide
» Install a CGI script

Related Links Related Links

» Business Blogs
» Hosting Resources
» SEO News
» SEO Tools