allow from .example.com | reverse lookup | apache

IPで制限しないでとmixiさんが言っていたので

http://developer.mixi.co.jp/news/news_platform/20111003api_ip/

とりあえず、mixiから以外は見えないように

    <Location /gadgets >
    Order deny,allow
    Deny from all
    Allow from .mixi-reserve.com .mixi.jp
    </Location>

を設定しました。

ちなみに、逆引き設定は、offのままですが、gadgets以下のときだけonになってくれているのか、それとも全体がonになってしまっているのかは不明。。。

# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

This entry was posted on 木曜日, 10月 6th, 2011 at 7:34 PM and is filed under blog, mixi. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。