memo.xight.org

01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

2005-10-03 Mon

Internet Explorer と DOCTYPE の関係

IE6はページの先頭行がDOCTYPEでないと、IE5互換モードでレンダリングしてしまうためです。
IE6の場合、XML宣言が先頭行にあると、W3C準拠モードでレンダリングされません。
IE6の有名なバグです。


DOCTYPEをドキュメントの先頭に置かないとW3C準拠モード(strict standards-compliant mode)にならない。
上記のXML宣言もドキュメントの先頭に置かなければならない。
結果、XHTMLの場合、XML宣言をすると、W3C準拠モードにならない。

- Reference
SourceForge - Pukiwiki Official - 続・質問箱/116
http://pukiwiki.sourceforge.jp/?%E7%B6%9A%E3%83%BB%E8%B3%AA%E5%95%8F%E7%AE%B1%2F116
Web Workshop - XML に関するよく寄せられる質問 - XML 宣言は何を実行するのですか?
http://msdn.microsoft.com/library/ja/jpwebwk/xml/general/xmlfaq.asp?frame=true#issues-declaration
MSDN Home > MSDN Library > Web Development > HTML and CSS > HTML and DHTML
Reference > Objects > !DOCTYPE (Internet Explorer - DHTML)
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/doctype.asp

mod_rewrite で Canonical Hostnames

- xxx.example.com から www.example.comへのリダイレクト方法の例

RewriteCond %{HTTP_HOST}   !^www\.example\.com [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/(.*)         http://www.example.com/$1 [L,R=301]


- xxx.example.com から example.comへのリダイレクト方法の例
RewriteCond %{HTTP_HOST}   !^example\.com [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/(.*)         http://example.com/$1 [L,R=301]


- Reference
Apache module mod_rewrite
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
Apache URL Rewriting Guide
http://httpd.apache.org/docs/1.3/misc/rewriteguide.html
Apache URL Rewriting Guide (和訳)
http://japache.infoscience.co.jp/rewriteguide/

カテゴリ: [Apache][Stub]

XOOPS Cube

- Summary
近年のマルチバイト文字ユーザーに不利な状況を打開すべく,新プロジェクト発足.
XOOPS Cubeは,日本語などのマルチバイト環境への対応を常に優先課題として開発される.

コンセプトとしては
「Secure(セキュリティの確保)」
「Simple(コア本体の軽量化)」
「Scalable(拡張性)」
の3つの「S」が掲げられている.
- Reference
http://www.itmedia.co.jp/enterprise/articles/0507/20/news103.html
XOOPS Cube 公式サイト
http://jp.xoops.org/

カテゴリ: [XOOPS][Stub]
2005-10 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-02-20 21:23
Copyright © 2005 xight.org All Rights Reserved.