PreviousNextHome

4. Configuration

Configuration of Argala Guestbook is SIMPLE and EASY!

Before you run the guestbook program, you are required to do the following first:

  1. Edit the file arguest.cfg.
  2. Upload the necessary files to your UNIX web server.
  3. Configure and customize the guestbook through the web browser.
If the PERL interpreter on the web server is not in /usr/bin/perl directory, you are required to amend the first line (i.e. the PERL interpreter directory path) of arguest.cgi.

You can enter 'which perl' or 'whereis perl' at the command prompt of your UNIX server to find out the location of the PERL interpreter.

For example, by typing 'which perl', you may receive the following reply :

        which perl
        /usr/local/bin/perl

As the location is different from our pre-defined one, you need to change the first line of arguest.cgi from #!/usr/bin/perl to #!/usr/local/bin/perl.

If you are still unable to find it, please ask your web host where it is located.

Modification of Argala Guestbook Configuration File (arguest.cfg)

  1. Open the file arguest.cfg with a text editor.
  2. Follow the listed instructions to configure the variables. These variables are preceded by comment lines (lines beginning with the # symbol) that explain how you should set the variables. You are required to set 2 variables only.
  3. Save the file.
Create your signup form, guestbook and thank you web pages

You should create 3 html pages -  guestform.htm, display.htm and thankyou.htm which are used by the script. You can use your html authoring tools to create these pages to suit your style on your website.

The web page guestform.htm is used to display the sign up form. You can create your own style. After you create this page, please insert the text #GUESTBOOK_FORM# in your page so that the program will look for the keyword and replace it with the sign up form.

The web page display.htm is used to display your guestbook. You can create your own style. After you create this page, please insert the text #DISPLAY_FORM#  in your page so that the program will look for the keyword and replace it with guestbook data.

The web page thankyou.htm is used to thank your visitors. You can create your own style. After you create this page, please insert the text #THANKYOU#  in your page so that the program will look for the keyword and replace it with 'Thank you' message and a link to your guestbook.


http://www.argala.com PreviousNextHome
Copyright(C) 2000 Argala.com All rights reserved.