Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 32

Warning: include(http://cafeterrace-enoki.com/site_banner.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 32

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/site_banner.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 32

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 42

Warning: include(http://cafeterrace-enoki.com/annai.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 42

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/annai.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 42

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 43

Warning: include(http://cafeterrace-enoki.com/Categories.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 43

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/Categories.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 43

About

2008年5月25日 22:11に投稿されたエントリーのページです。

ひとつ前の投稿は「アーカイブページは必要か?」です。

次の投稿は「アジュガ」です。


Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 67

Warning: include(http://cafeterrace-enoki.com/coment.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 67

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/coment.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 67

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 68

Warning: include(http://cafeterrace-enoki.com/kanri.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 68

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/kanri.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 68

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 69

Warning: include(http://cafeterrace-enoki.com/counter.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 69

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/counter.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 69

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 70

Warning: include(http://cafeterrace-enoki.com/powered.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 70

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/powered.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 70
Top5・PC関係を覚える > mtの四苦八苦 > MTのメモメモ! > .htaccess(ドットエイチティーアクセス)とは?

« アーカイブページは必要か? | メイン | アジュガ »

.htaccess(ドットエイチティーアクセス)とは?

このファイルを作りサーバーにアップすれば色々な規制が出来るとか?
最初にこのサイトをlolipopで作った時に遣った覚えがある物。


「 SQLite 」 でMovableTypeを使う場合、そのままでは 「 データベース 」 の中身が見られてしまいます。そのため、「 データベース 」 を保護する必要があります。
「 mt フォルダ 」 に 「 .htaccess ファイル 」 をアップロードして 「 データベース 」 を保護しましょう。

「 .htaccess ファイル」 は下記のようになります。

<Files ~ "^sqlitedb*"> deny from all </Files>>

この「.htaccess」覚えれば色々な使い方や規制が出来るらしい!

更に爺さんなりに解釈して見ると・・。

sqlitedbファイルの全てを禁止(拒否)と考えたが良いのかな~?


allow ・・・許可
deny ・・・禁止


ブログの表示がPC(パソコン表示)なら携帯用にする事も可能?又特にブログに付き物のスパム対策にも使えるらしい。

上の「deny from ~」は「~を拒否する」と言う事らしい。


是を・・・以下のように書くと・・


Order deny,allow
deny from all
allow from aaaaa.com(ドメイン名)
allow from 111.222.0.(IPアドレス)

「allow from ~」は「~を許可する」と言う事らしい。

又コノ「.htaccess」を使うとページにパスワードを掛けて特定の人だけに見せる事が出来る。
(是は山の爺は設置した事がある)
このパスワードでの設置の仕方は暇を見付けてアップしよう!

今後のこの「.htaccess」は携帯用、トラックバック用、コメント用などに使って見る予定だ。

人気ブログランキングへ

コメント (3)

萌:

始めてお目に掛かります。
デフォルトのMTブログを色々と改造されているようですがチョットお聞き致します。
このタイトルでは無いのですが適当なタイトルが見付からなかったのでココに書きますが宜しくお願い致します。

topページのバナーの下に更新日付が出ているのですがどの様なタグでしょうか?出来れば教えて頂きたいのですが・・?

山の爺:

>萌さん
数ある中から見て頂き有難う御座います。
ご質問は以下の・・。

最終更新日:・・・

の事でしょうか?
山の爺も解らぬ侭色々な所を見ながら遣ったので良くは覚えて居ないのですが・・・?

覚えている範囲で別途アップしますので今暫くのお時間を頂けますでしょうか?

山の爺:

萌さん<
最終更新日・・・と判断して記事を少し書いてみました。

コレで一度試してみてください。

http://cafeterrace-enoki.com/archives/2008/07/13-121917.php

コメントを投稿

スポンサードリンク


Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 390

Warning: include(http://cafeterrace-enoki.com/blog.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 390

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/blog.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 390

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 391

Warning: include(http://cafeterrace-enoki.com/hp-rink.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 391

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/hp-rink.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 391

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 392

Warning: include(http://cafeterrace-enoki.com/rink_baner.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 392

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/rink_baner.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 392
e

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 403

Warning: include(http://cafeterrace-enoki.com/Copyright.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 403

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/Copyright.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2008/05/25-221128.php on line 403