新規記事投稿 フォロー記事投稿 記事のキャンセル
From: SCENE <yanohara@toppan-f.co.jp>
Subject: Re: 2度目のアクセスができません
Date: 1998/01/29 18:46:52
Reference: mesh.forum.3/00041

やのはらです。

環境は

# /usr/local/sbin/httpd -v
Server version Apache/1.2b7.
# uname -a
FreeBSD ***.***.toppan-f.co.jp 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Tue Mar 2
5 15:12:02 GMT 1997     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386

でした。

>うーん、面白い現象ですね。少なくとも1回は書き込みが正常に出来るのであれば、
>設定が違っているとも思われないですね。

同一のブラウザからであれば、2番目の投稿もできるし、
フォローもできます。

>perlのヴァージョンは幾つを使っていますか?
>perl -v で以下の様にヴァージョンが分かります。

yanohara@sse[1] perl -v

This is perl, version 5.003 with EMBED
        built under freebsd at Mar 13 1997 00:09:56
        + suidperl security patch

です。

>perlのヴァージョンが問題無い場合には、site.plでの設定状態、エラーが起こる
>場合のcontentsの内容などを詳しく書き込んで下さい。

ディレクトリ構成は、

yanohara@sse[20] pwd
/usr/local/www/data/forum
yanohara@sse[21] ll
total 14
drwx---r-x  4 yanohara  wheel  512 Jan 28 16:35 ./
drwxrwxr-x  6 root      wheel  512 Jan 28 19:53 ../
-r-----r--  1 yanohara  wheel  179 May 27  1996 CancelPoster.html
-r-----r--  1 yanohara  wheel  209 May 27  1996 CancelSystem.html
-r-----r--  1 yanohara  wheel  464 Dec 17  1996 Preface.html
drwx---r-x  2 yanohara  wheel  512 Mar 10  1997 icons/
-rw----rw-  1 yanohara  wheel    0 Jan 28 19:43 new_arrival
drwx---rwx  2 yanohara  wheel  512 Jan 28 19:44 test/

yanohara@sse[15] pwd
/usr/local/www/cgi-bin/forum
yanohara@sse[16] ll
total 194
drwxr-xr-x  2 yanohara  wheel    512 Jan 28 19:40 ./
drwxrwxr-x  4 root      wheel    512 Jan 28 19:48 ../
-r-x---r-x  1 yanohara  wheel  12316 Mar  7  1997 article.cgi*
-r-x---r-x  1 yanohara  wheel   5875 Mar 10  1997 cancel.cgi*
-rwx---rwx  1 yanohara  wheel   8311 Jan 28 19:40 contents.cgi*
-r-x---r-x  1 yanohara  wheel   8543 Mar  4  1997 customize.cgi*
-r-----r--  1 yanohara  wheel  14663 Jan 28 15:50 forum.pl
-r-----r--  1 yanohara  wheel   3890 Jan 30  1997 http.pl
-r-x---r-x  1 yanohara  wheel   2695 Mar  7  1997 index.cgi*
-r-----r--  1 yanohara  wheel  16777 Feb 25  1997 jcode.pl
-r-x---r-x  1 yanohara  wheel   1126 Mar  4  1997 menu.cgi*
-r-----r--  1 yanohara  wheel   3987 Jan 28 16:10 site.pl


site.plのはじめの方は(コメント行は外しました。)

package forum;
$forumtitle = 'うぇぶ会議室';	# 会議室の名称
$forumroot = '/forum';	# うぇぶ会議室のあるペーヂ
$cgiroot = '/cgi-bin/forum';
$forumpath = '../../data/forum';
$owner = 'yanohara@toppan-f.co.jp';	# 会議室の管理者のメールアドレス
$expires = 10 * 60;		# 会議室選択/一覧ペーヂの有効秒数
$new = 3 * 24 * 60 * 60;	# 記事アイコンが新着アイコンでいる秒数
$htoz = 1;			# 半角カナの全角カナ変換フラグ(1=変換)
$copy = 0;			# キャンセル記事の置換をコピーでする時(1=コピー)
$flock_disable = 0;		# flock() 関数が使えない場合1にする


はじめの状態が

yanohara@sse[40] pwd
/usr/local/www/data/forum/test
yanohara@sse[41] cat contents
00001 00003 *************


一件投稿すると

yanohara@sse[42] pwd
/usr/local/www/data/forum/test
yanohara@sse[43] cat contents
00001 00004 *************
00003 00000 $1$5N$SckbTD1MR6OGZD5KmykvY. 1998/01/29 18:36:59 


このとき、他のブラウザからアクセスすると

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your
request.

Please contact the server administrator, you@your.address and inform them of the time the error
occurred, and anything you might have done that may have caused the error.

といわれます。
これぐらいあれば、なにかわかりますかね?

># 会議室のURLは聞いてもしょうがないだろうな?
># どうせ外からは見えない所なのでしょうから。

そーなんですよ。
外から見えればすぐに見ていただけるんですけどー。

#先に、自分のリムネットの環境で実現してみようかな、、、