.htaccess質問コーナー

このエントリーをはてなブックマークに追加
26Name_Not_Found
>21
<LIMIT GET>
order allow,deny
allow from all

deny from 218.229.39.
deny from 210.153.84.
deny from 210.136.161.
deny from 203.138.45.
deny from 211.8.159.
deny from 210.169.193.
deny from 211.127.183.
deny from 210.146.60.
deny from 210.134.83.
deny from 211.8.49.
deny from 210.169.40.
deny from 210.196.3.
deny from 210.196.5.
27Name_Not_Found:03/10/10 21:52 ID:gTfBc9JX
deny from 210.230.128.
deny from 210.230.141.
deny from 210.234.105.
deny from 210.234.108.
deny from 210.251.1.
deny from 210.251.2.
deny from 211.5.1.
deny from 211.5.2.
28Name_Not_Found:03/10/10 21:53 ID:gTfBc9JX
deny from 211.5.7.
deny from 218.222.1.
deny from 61.117.0.
deny from 61.117.1.
deny from 61.117.2.
deny from 61.202.3.
deny from .vodafone.ne.jp
deny from .ido.ne.jp
deny from .pdx.ne.jp
</LIMIT>
<Files ".*">
allow from all
</Files>
ErrorDocument 403 http://i-modeのURL
でTOPに.htaccessを作って、
i-mode他のディレクトリに
order allow,deny
allow from all
を作っておけばOKなんじゃないか?
後は状況に合わせて中身を追加する。

試してないけどごめん。
一応携帯は上のIPで通ると思うんだけどな

29Name_Not_Found:03/10/10 22:18 ID:DqkU39V5
>22 ありがとう(^-^)
>23 26と同じような感じ。だけど、
i-modeディレクトリのは分からなかった
>25 それはindexの優先順位を決めるやつ?
>26 ありがとう(^-^)
書いてる通りやったらうまく作動したよ(^-^)

みんなお手数かけてごめん!本当にありがとう