ZooChat初期設置解説(@nifty版)v5.32
- 以下の書庫ファイルをダウンロードします。
- ■ZooChat(Ver5.32)[99/12/06公開 西暦2000年対応]
- ■ZooChat(Ver5.32)[99/12/06公開 西暦2000年対応]
- ダウンロードできたら解凍しましょう。以下のファイルが展開されます。
- chat_awho.cgi
- chat_end.cgi
- chat_env.cgi
- chat_in.cgi
- chat_pro.cgi
- chat_start.cgi
- chat_top.cgi
- chat_wait.cgi
- chat_who.cgi
- room_call.cgi
- room_delete.cgi
- room_mnt.cgi
- room_move.cgi
- zchat_admin.cgi
- zchat_icnv.cgi
- zchat_instart.cgi
- chat_lib.pl
- jcode.pl
- ring.au
- chat_end.cgi
- index.html
- zoohelp.html
- chati001.txt
- chati002.txt
- chati003.txt
- chati004.txt
- room001.txt
- room002.txt
- room003.txt
- room004.txt
- roommember001.txt
- roommember002.txt
- roommember003.txt
- roommember004.txt
- animal001.gif
- animal002.gif
- animal003.gif
- animal004.gif
- zoohelp.html
- chat_awho.cgi
- "homepage"ディレクトリの下に"zoo"ディレクトリを作成し、*.html, *.gif, *.auのファイルを格納します。既存の"cgi-bin"ディレクトリの下に"zoo"ディレクトリを作成し、*.cgi, *.pl, *.txtのファイルを格納します。全体のディレクトリ構成とファイルの配置例は以下のとおりです。(かっこ内はパーミッション)
(FTPでのホームディレクトリ) | +--- cgi-bin / zoo / *.cgi [755] | *.pl [755] | *.txt [666] | +--- homepage / zoo / *.html *.gif ring.au - 各cgiファイル(拡張子がcgiのもの)の先頭行は以下のとおりです。
- ■1行目
- 変更前:#!/usr/bin/perl
- 変更後:#!/usr/local/bin/perl
- 変更前:#!/usr/bin/perl
- ■1行目
- chat_env.cgiの修正箇所(先頭行以外)
下記の「homepage?」、「hpcgi?」の?の部分、及び「あなたのID」は@niftyとの契約内容に準じて置き換えてください。- ■10行目
- 変更前:$password = 'pass';
- (管理用のパスワードを英数字で変更修正します)
- ■13行目
- 変更前:$fbase = '';
- 変更後:$fbase = './';
- ■14行目
- 変更前:$sbase = '';
- 変更後:$sbase = './';
- ■15行目
- 変更前:$gbase = '';
- 変更後:$gbase = 'http://homepage?.nifty.com/あなたのID/zoo/';
- ■16行目
- 変更前:$abase = '';
- 変更後:$abese = 'http://homepage?.nifty.com/あなたのID/zoo/';
- ■20行目
- 変更前:$url1 = 'http://zoochat.system.to/';
- 変更後:$url1 = 'http://homepage?.nifty.com/あなたのID/';
- ■23行目
- 変更前:$url2 = "http://zoochat.system.to/test2/chat_top.cgi";
- 変更後:$url2 = "http://hpcgi?.nifty.com/あなたのID/zoo/chat_top.cgi";
- ■26行目
- 変更前:$rurl1 = 'http://zoochat.system.to/test2/chat_start.cgi';
- 変更後:$rurl1 = 'http://hpcgi?.nifty.com/あなたのID/zoo/chat_start.cgi';
- ■28行目
- 変更前:$rurl2 = 'http://zoochat.system.to/test2/chat_wait.cgi';
- 変更後:$rurl2 = 'http://hpcgi?.nifty.com/あなたのID/zoo/chat_wait.cgi';
- 変更前:$password = 'pass';
- ■10行目
- chat_top.cgiの修正個所
- ■49行目
- 変更前:<LI>ご利用方法は<A HREF="zoohelp.html">こちら</A>です。
- 変更後:<LI>ご利用方法は<A HREF="http://homepage?.nifty.com/あなたのID/zoo/zoohelp.html">こちら</A>です。
- 変更前:<LI>ご利用方法は<A HREF="zoohelp.html">こちら</A>です。
- ■49行目
- chat_start.cgiの修正個所
- ■249行目、431行目
- 変更前:<LI><A HREF="zoohelp.html" TARGET=_blank>HELP</A><BR>
- 変更後:<LI><A HREF="http://homepage?.nifty.com/あなたのID/zoo/zoohelp.html" TARGET=_blank>HELP</A><BR>
- 変更前:<LI><A HREF="zoohelp.html" TARGET=_blank>HELP</A><BR>
- ■249行目、431行目
- index.htmlの修正箇所
下記の「hpcgi?」の?の部分、及び「あなたのID」は@niftyとの契約内容に準じて置き換えてください。- ■3行目
- 変更前:<FRAME SRC="./chat_top.cgi">
- 変更後:<FRAME SRC="http://hpcgi?.nifty.com/あなたのID/zoo/chat_top.cgi">
- 変更前:<FRAME SRC="./chat_top.cgi">
- ■3行目
- 以上、修正が完了したら、*.cgi, *.txt, *.html, *.plを「テキストモード」で、*.gif, ring.auを「バイナリーモード」で、各ディレクトリへFTP転送したのち、以下の通りパーミッションを設定して下さい。
*.cgi 755 *.pl 755 *.txt 666 - 最初にリンクするファイルは、http://hpcgi?.nifty.com/あなたのID/zoo/chat_top.cgi
または、http://homepage?.nifty.com/あなたのID/zoo/index.htmlです。
- 以下に各おまけキットの導入方法を記載します。
- ☆動作サンプル「バージョン5.31」
(日付表示、ランキング表示などに少々の改造を入れています(^^;;)
|
ZooChat初期設置解説(@nifty版) |
在室状況の画像表示キット(@nifty版) |