|
|
Contents |
Before installing you should know:
- Make sure you are allowed to run cgi scripts on your web server and if so, are they restricted to the
cgi-bindirectory.
- How to FTP files between your PC and Unix/Linux web server.
The majority of publishing and FTP utilities are automatically set to determine whether a file should be uploaded in BINARY or ASCII, but there are exceptions.
- files ending with
.txt, .pl, .htmlmust be sent as type ASCII.
- files such as
.jar, .gifmust be sent as type BINARY.
- Where PERL is located on the server. Popular locations:
/usr/bin/perl, /usr/local/bin/perl
- The absolute path to your cgi-bin. (e.g.:
home/username/public_html/cgi-bin).
- How to set permissions to the Perl script (CHMOD) on your server. This is accomplished by way of the most FTP programs.
Installation:
- At first you should configure the chat by editing the files
chat.html, config.txt ,chat.plas described in the chapter Configuration.
- Using FTP, transfer the files
chat.html, kick.html, chat.jar, config.txt image.gif, logo.gif, smiles.gifto the web server directory.e.g. /chat/chat.html kick.html chat.jar config.txt image.gif logo.gif smiles.gifDon't forget transfer the fileschat.html, kick.html, config.txtuse ASCII mode,
andchat.jar, image.gif, logo.gif, smiles.gifuse BINARY mode.
- Transfer the file
chat.pluse ASCII mode to the web server directory where cgi-perl is allowed.e.g. /cgi-bin/chat.plUsing your FTP program, set the permission onchat.plto 755.
Set the permission on the directory (variable $path in the filechat.pl) where the datafiles will be created to 777.
- Open in the browser the following page:
http://yourwebsite/chat/chat.html
|
|
Contents |