BBS過去ログ |
| ■目次 |
お久し振りです。
過去のログでwebalizerのAccess Errorの件はどうなったのでしょうか?
自分は今,FC2のwebalizerで同じ所で悩んでます。
FC1は正常に動作しているのですが・・・・・
何か情報が有りましたら,宜しくお願い致します。
> 過去のログでwebalizerのAccess Errorの件はどうなったのでしょうか?
記事221(http://localhost/usage/へアクセスすると下記のエラーが表示されます。You don't have permission to access /usage/ on this server.)の件でしょうか?
上記と同じ事象であれば、まず以下の情報をBBSに貼り付けてください。
[root@linux root]# grep OutputDir /etc/webalizer.conf
[root@linux root]# ll /etc/httpd/conf.d/
[root@linux root]# ll /var/www/
[root@linux root]# ll /var/www/html/
アクセスエラーになったときの/var/log/httpd/error_log内のエラーメッセージ
webmasterさん。こんにちは。
現在いろいろ手探りで修正してしまい,どれが正か?判らない状態でですが,
一つ判った事は,webalizer.specの中でFC1は /var/www/html/usage
ですが,FC2は /var/www/usage をインストール先にしている事です。
もう一度試し,ご指示の情報をBBSに貼付けます。
webmasterさん。こんにちは。
もしかして,FC2でも rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms を有効に
しるんですか?自分は rpm-src http://ayo.freshrpms.net fedora/linux/2/i386 core updates freshrpms を有効に
しました。
webmasterさん。こんにちは。
FC2で rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms を有効にしたら,DOWNLOAD出来ませんでした。
友は友様、こんばんわ。
> もしかして,FC2でも rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms を有効に
> しるんですか?自分は rpm-src http://ayo.freshrpms.net fedora/linux/2/i386 core updates freshrpms を有効に
> しました。
友は友様の設定でよいです。
私のほうがコンテンツ上、手抜きして、FC2の場合の手順を掲載していないだけでした^^;
これは修正しておきました。
http://fedorasrv.com/webalizer.shtml
webmaster 様
おはよう御座います。
情報を添付します。
*---------------------------------------------------------
・grep OutputDir /etc/webalizer.conf
# OutputDir is where you want to put the output files. This should
OutputDir /var/www/html/usage
*---------------------------------------------------------
・ll /etc/httpd/conf.d/
合計 16
-rw-r--r-- 1 root root 180 5月 6 20:16 README
-rw-r--r-- 1 root root 401 5月 20 00:13 php.conf
-rw-r--r-- 1 root root 352 7月 4 08:14 webalizer.conf
-rw-r--r-- 1 root root 299 5月 6 20:16 welcome.conf
*---------------------------------------------------------
・ll /var/www/
合計 20
drwxr-xr-x 2 root root 4096 5月 6 20:16 cgi-bin
drwxr-xr-x 3 root root 4096 7月 3 21:54 error
drwxr-xr-x 2 root root 4096 7月 4 08:09 html
drwxr-xr-x 3 root root 4096 7月 3 21:55 icons
drwxr-xr-x 2 webalizer root 4096 7月 4 08:15 usage
*---------------------------------------------------------
・ll /var/www/html/
合計 20
-rw-r--r-- 1 root root 66 7月 3 22:09 index.html
-rw-r--r-- 1 root root 189 7月 3 22:19 index.shtml
-rwxr-xr-x 1 root root 224 7月 3 22:10 test.cgi
-rw-r--r-- 1 root root 22 7月 3 22:21 test.php
-rw-r--r-- 1 root root 144 7月 3 22:17 test.shtml
*---------------------------------------------------------
・実行 ./webalizer
Error: Can't change directory to /var/www/html/usage
以上 宜しくお願い致します。
追伸
convertlog.plのJcode::convert(\$_,euc);は
&Jcode::convert(\$_,euc); では・・・・・
/etc/webalizer.confのOutputDir行を/var/www/html/usageから/var/www/usageへ変更後、webalizerを再実行してみてください。
> 追伸
> convertlog.plのJcode::convert(\$_,euc);は
> &Jcode::convert(\$_,euc); では・・・・・
Jcode::convert(\$_,euc);で問題なく動作しています。
webmaster 様
お世話になります。
> /etc/webalizer.confのOutputDir行を/var/www/html/usageから/var/www/usageへ変更後、webalizerを再実行してみてください。
結果:You don't have permission to access /usage/ on this server.
何かFC1と根本的に環境が違う様に思えます。
自分も調査開始します。
何か判りましたら,ご連絡下さい。
[root@linux root]# ll /var/www/
をたたいてみて結果をBBSに貼り付けてくださいますでしょうか。
webmaster 様
こんばんは。
大変申し訳ありませんが,再インストール中です。
> [root@linux root]# ll /var/www/
> をたたいてみて結果をBBSに貼り付けてくださいますでしょうか。
一つ言える事は,usageの中がFC1とFC2とで違っていました。
一つ覚えているのが index.html がFC2には有りませんでした。
本当に申し訳ありませんが,上記の理由により今度は新BBSに書きます。
ご迷惑かけ申し訳有りません。
友は友様、こんばんわ。
> 本当に申し訳ありませんが,上記の理由により今度は新BBSに書きます。
了解です。ご投稿お待ちしています。
>
> ご迷惑かけ申し訳有りません。
とんでもないです。不明点ははっきりさせましょう^^