local blog My little place on the web... http://ooshima.org/ 2007-08-28T12:36:45Z Serendipity 1.2-beta1 - http://www.s9y.org/ ja
You are viewing an ATOM formatted XML site feed. Usually this file is inteded to be viewed in an aggregator or syndication software. If you want to know more about ATOM, please visist Atomenabled.org
あき@管理人 nospam@example.com 2007-08-28T12:22:29Z 2007-08-28T12:22:29Z 2007-08-28T12:36:45Z http://ooshima.org/wfwcomment.php?cid=6 0 http://ooshima.org/rss.php?version=atom0.3&type=comments&cid=6 http://ooshima.org/index.php?/archives/6-guid.html 皆既月食
皆既月食は、地球の影に月が丸ごと入り暗く見える現象で、全国で観測可能なのは約6年半ぶり。午後6時52分から午後8時22分すぎまで続き、その後約1時間は部分月食となる。
月が昇るところに雲があり、実際に見えはじめたのは午後8時25分ごろだった。
あき@管理人 nospam@example.com 2007-07-21T16:08:56Z 2007-07-21T16:08:56Z 2007-07-21T16:08:56Z http://ooshima.org/wfwcomment.php?cid=5 0 http://ooshima.org/rss.php?version=atom0.3&type=comments&cid=5 http://ooshima.org/index.php?/archives/5-guid.html Serendipity 1.2-beta4リリ-ス

7月16日にSerendipity 1.2-beta4がリリースされてます。


    (beta4) Fix comment-RSS feeds
   
   
(beta4) serendipity_plugin_comments now also supports Favatars in
      combination with serendipity_event_gravatar instead of
      Gravatars only. (brockhaus)

    (beta4) Fix wrong event hook for entry manager to display toolbar
      for the main body area.
   
   
(beta4) Stronger autologin cookie encryption, prevent mixup with
      template options (which could make foreign users delete your
      configured template option keys). Also use new serendpity_db_implode()
      function for a safer API on image handling.
      All hail Stefan Esser. :-)

    (beta4) Backend templating changes to insert more classes to input
      fields etc (Don Chambers)

    (beta4) Fix invalid pingback XML code, by Slim
   

あき@管理人 nospam@example.com 2007-07-01T09:10:00Z 2007-07-01T09:10:00Z 2007-07-01T08:53:30Z http://ooshima.org/wfwcomment.php?cid=4 0 http://ooshima.org/rss.php?version=atom0.3&type=comments&cid=4 http://ooshima.org/index.php?/archives/4-guid.html 今日は日曜日

遅刻だ~~~っ!
大慌てで出勤、ん?何か様子が違う?
あれっ?よく考えたら今日は第一日曜、定休日でした(^-^;
月初めから大ボケかましてしまったのだ(笑)。

あき@管理人 nospam@example.com 2007-06-26T13:00:57Z 2007-06-26T13:00:57Z 2007-06-26T13:00:57Z http://ooshima.org/wfwcomment.php?cid=3 0 http://ooshima.org/rss.php?version=atom0.3&type=comments&cid=3 http://ooshima.org/index.php?/archives/3-guid.html Serendipity 1.2-beta2 リリース

6月17日にSerendipity 1.2-beta2Serendipity 1.1.3がリリースされてます。
ここは1.2-beta1を入れてますが、どこがどう変わったのか説明が英語なので
よくわかりません。(^-^;;

あき@管理人 nospam@example.com 2007-06-20T18:02:08Z 2007-06-20T18:02:08Z 2007-06-20T18:18:24Z http://ooshima.org/wfwcomment.php?cid=2 0 http://ooshima.org/rss.php?version=atom0.3&type=comments&cid=2 http://ooshima.org/index.php?/archives/2-guid.html 直リンクを禁止するには

直リンクを禁止するには

外部サイトからのリンクを禁止するには、「.htaccess」という特殊なファイルを使って、 Referer(リファラ)という情報を調べてアクセス制限を施します。

■.htaccessとは?
「.htaccess」ファイルとは、サーバの設定を記述したファイルのことです。このファイルに設定を書き込むことで、アクセス制限を施すことができます。他にも、アクセス認証を行ったり、SSIを使えるようにしたり、エラーメッセージをカスタマイズしたりもできます。

■Referer(リファラ)とは?
Refererとは、「参照元(リンク元)」のことです。ブラウザはこの情報を保持していて、ページや画像を読むたびにサーバに送信しています。この情報を調べれば、直前に閲覧していたページが自サイト内のページなのか、外部サイトのページなのかが分かります。
アクセス解析ツールでの「リンク元」解析にも、このReferer情報が使われています。

「.htaccess」ファイルを用意して、そこにReferer情報をチェックする設定を記述すれば、直リンクを防ぐ技術的なアクセス制限が作れることになります。

直リンクを禁止する手順

「.htaccess」ファイルを使って直リンクを禁止する手順は、次の通りです。

  1. 「.htaccess」ファイルを作成する
    1. この記事で紹介している記述をコピー&ペースト
    2. 参照元(リンク元)として許可するURLを列挙
  2. 直リンクを禁止したいファイルが入っているディレクトリに「.htaccess」ファイルを設置(アップロード)する
  3. 動作を確認する

以上です。上記の通り、手順は非常に簡単です。

この方法が使えない環境もある

この方法が使えない場合もあります。以下のような場合は使えません。

■「.htaccess」ファイルの使用が許可されていない場合

「.htaccess」の使用が許可されていない場合は、この方法は使えません。
無料のウェブスペースだと、許可されていないことが多いでしょう。レンタルサーバなら、たいていは使用可能です。詳しくは、レンタルサーバのマニュアルなどをご参照下さい。
(※無料のウェブスペースの場合、最初からサーバの仕様として、画像のみの外部からの参照を拒否するように設定されていることもあります。)

■ウェブサーバが「Apache」ではない場合

レンタルサーバなどで使われているウェブサーバはたいてい「Apache」なので、この点はあまり心配する必要はありません。 Microsoft社製の「IIS」や、フリーソフトの「AN HTTPD」などを使っている場合は、「.htaccess」ファイルは使えません。


"直リンクを禁止するには" の続きを読む...
あき@管理人 nospam@example.com 2007-06-15T17:38:40Z 2007-06-15T17:38:40Z 2007-06-15T17:38:40Z http://ooshima.org/wfwcomment.php?cid=1 0 http://ooshima.org/rss.php?version=atom0.3&type=comments&cid=1 http://ooshima.org/index.php?/archives/1-guid.html そろそろ寝る(^-^;

今さらって感じもするけど...

ブログってもんを始めてみる。Serendipityとゆ~らしいが、何とか様になってきたので

そろそろ寝る。しかし、いつまで続くのかナ(苦笑)