携帯→2ch運用情報スレッド14

このエントリーをはてなブックマークに追加
477root▲ ★
これだぁぁ。
http://www.appelsiini.net/keitai-l/archives/2004-12/0105.html

You will get a 406 error if you allow multiviews in your httpd.conf or
a .htaccess file and you use php recommended Addtype declarations such
as:

AddType application/x-httpd-php .php php3 php4 phtml
AddType application/x-httpd-php-source .phps

Instead, under Apache 2.x only, you should consider using:

AddHandler php-script php
AddType text/html php

There is no workaround for apache 1.3 AFAIK.

Multiviews is often used with url parsing under php.

see: http://tranchant.plus.com/notes/multiviews for the gory details.
478root▲ ★:04/12/31 07:06:52 ID:???
これでどーだ。

# for PHP
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
# XXX
AddHandler php-script php
AddType text/html php
479 ◆BFzK/mtqM2 :04/12/31 07:30:02 ID:TvO0NW6V
家に戻ったら、うちもそれに習って変更してみます。
480root▲ ★:04/12/31 07:51:17 ID:???
ログを観察してますが、この時間帯は最もアクセスが少ないためか、
3Gな人柱さんはなかなか訪れない模様。

どなたか動作確認(どこの板でもいいので、スレの中身まで見られること)して、
報告していただけると助かるです。

かなりの確率でビンゴだと思うけど、
もしビンゴなら、致命的と言ってもいい仕様(たぶん、Vodafone的にはバグじゃないんでしょう)だと思う。

Accept: */* を送ってこないってことだから、見れないページ続出の予感。

とりあえず、ねるる。
481root▲ ★:04/12/31 07:52:02 ID:???
きた。

206.223.150.148 - - [30/Dec/2004:14:47:40 -0800] "GET /test/-/newsplus/i HTTP/1.0" 406 371 "http://c-others.2ch.net/05.p/-/i" "Vodafone/1.0/V902SH/SHJ001 Browser/UP.Browser/7.0.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Ext-J-Profile/JSCL-1.2.2 Ext-V-Profile/VSCL-2.0.0"

あぁ、だめだぁ。
482root▲ ★:04/12/31 07:54:48 ID:???
手でtelnetしてみたけど、
Accept: text/html だけだと、406になるですね。

つまり、予期したように動いていない。
483 ◆BFzK/mtqM2 :04/12/31 07:57:27 ID:TvO0NW6V
あららダメでしたか。。。
484root▲ ★:04/12/31 08:08:14 ID:???
おぉ、.htaccess にも書いてある、、、。

#addtype application/x-httpd-php p php
addhandler php-script p

これでどうだ。
485root▲ ★:04/12/31 08:34:19 ID:???
━━(゚∀゚)━━( ゚∀)━━(  ゚)━━(  )━━(  )━━(゚  )━━(∀゚ )━━(゚∀゚)━━━ !!!!

206.223.150.148 - - [30/Dec/2004:15:32:10 -0800] "GET /test/-/eq/i HTTP/1.0" 200 2662 "http://c-others.2ch.net/03.p/-/i" "Vodafone/1.0/V902SH/SHJ001 Browser/UP.Browser/7.0.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Ext-J-Profile/JSCL-1.2.2 Ext-V-Profile/VSCL-2.0.0"
206.223.150.148 - - [30/Dec/2004:15:32:12 -0800] "GET /test/-/phs/1104196788/i HTTP/1.0" 200 2870 "http://c-others.2ch.net/test/-/phs/i" "Vodafone/1.0/V902SH/SHJ001/しりある Browser/UP.Browser/7.0.2.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Ext-J-Profile/JSCL-1.2.2 Ext-V-Profile/VSCL-2.0.0"
486root▲ ★:04/12/31 08:36:15 ID:???
しかし、ほんとに Accept: */* を送って来ないんだ、、、。
しんじらんない。

動作検証を1mmもやってない予感。