Hiroshi Okunushi's Blog ☆ミ| IIS PHP etc.

IIS7, PHP on IIS を中心とした情報発信ブログです。

September, 2007

  • 【IT Pro 道場】 今日はAD 差分理解編

    久し振りの道場ですが、高添 - 安納 ペアでお届けしました。今日も大勢のお客様にお越しいただきまして本当にありがとうございました。

    2008 の Active Directory についてなので、ADを既にお使いいただいていないと結構きつい内容になっていると思いました。ずっと 「あらためてActive Directory 編」 というのをやっていたんですが、安納 がWebcastをとっていますのでそちらはお時間のよろしい時に Webcast でご覧いただければと思います。

    オンライン版 IT Pro 道場
    http://www.microsoft.com/japan/technet/community/events/dojo/default.mspx

    = English =

    [Dojo] Today is "AD Difference - 2003 & 2008" version DOJO

    It's been a while since the last DOJO, and today we're delivering one by Osamu & Junichi. Thank you so much to so many poeple for attending.

    This one is about 2008 Active Directory so if you didn't know about Active Directory, it would've been a difficult seminar. We've doing Active Directory DOJO for 2003 for a while and we're retiring that since Junichi did a webcast so if you're interested in that, please take a look at the webcast.

    IT Pro Dojo - Online
    http://www.microsoft.com/japan/technet/community/events/dojo/default.mspx

  • 【IIS7】 FTP7 も RC0版 が登場!

    IIS.NETサイトのリニューアルに少し遅れて FTP7 も RC0 版が x86 版、x64 版がダウンロード可能になりました。ただ、イベントやセミナーでは申し上げているのですが、FTP7 に関しては UI が日本語のものは提供されない可能性があります。データや操作に日本語が含まれるとどうかという点は引き続き追いかけている状況です。

    Microsoft FTP Publishing Service for IIS 7.0 - RC0 - x86
    http://www.iis.net/downloads/default.aspx?tabid=34&i=1526&g=6

    Microsoft FTP Publishing Service for IIS 7.0 - RC0 - x64
    http://www.iis.net/downloads/default.aspx?tabid=34&i=1527&g=6

    FTP も結構アップロードという観点で注目のテクノロジーなんですが、セキュアに使う観点ではこの実装はFTPSのソリューションです。FTP on SSLということでしょうか。もう一つ SFTP (FTP on SSH)があると思いますが、そちらは対応していません。

    英語でよろしければ以下を参照ください。

    What’s New for Microsoft and FTP?
    http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Using-FTP-Server-in-IIS7/What-s-New-for-Microsoft-and-FTP-

    = English =

    [IIS7] FTP7 RC0 is live now!

    A little after the renewal of IIS.NET, FTP7 RC0 build came public for both x86 and x64 versions. But as I have spoken at events and seminars, the UI is currently not scheduled to be localized to Japanese. I will continue to try following up if using Japanese data and for operation is OK or not.

    Microsoft FTP Publishing Service for IIS 7.0 - RC0 - x86
    http://www.iis.net/downloads/default.aspx?tabid=34&i=1526&g=6

    Microsoft FTP Publishing Service for IIS 7.0 - RC0 - x64
    http://www.iis.net/downloads/default.aspx?tabid=34&i=1527&g=6

    FTP is a popular technology for uploading puroposes and to use it securely FTP7 supports FTPS as in HTTP vs HTTPS. I believe it's FTP on SSL. There's also SFTP which is FTP on SSH but FTP7 doesn't support that.

    If English is OK for you, try the following link.

    What’s New for Microsoft and FTP?
    http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Using-FTP-Server-in-IIS7/What-s-New-for-Microsoft-and-FTP-

  • 【IIS7】 IIS.NETサイトがリニューアル

    かなりの更新が入っています。もうお気づきの方も多いと思いますが米国で Windows Server 2008 の RC0が発表になったからで、RC0 に付随した Update があります。RC0 に関する IIS7.0 の Update は下記のブログに書いてありました。
    http://blogs.iis.net/mailant/archive/2007/09/24/windows-server-2008-rc0-available-now.aspx

    またダウンロード公開されたものもかなりの数あります。ここにそれぞれの説明のポストがあります。
    http://blogs.iis.net/tags/IIS+News+Item/default.aspx

    気づいたものをリストしてみましょう。

    - IIS5.1とIIS6用のFastCGIモジュールのアップデート
    - Windows Media Service RC0用 ビルド
    - 単独インストール用のIISマネージャ(リモート対応) RC0アップデート(32ビット)
    - 単独インストール用のIISマネージャ(リモート対応) RC0アップデート(64ビット)
    - IIS7 Media Pack ビット レート スロットリング モジュール(32ビット)
    - IIS7 Media Pack ビット レート スロットリング モジュール(64ビット)

    個々の機能やRC0における違いについては色々触った上でまた書こうと思います。( ^^) _旦~~

    それから PHP on IIS 専用コーナーができたようです。
    http://www.iis.net/php/
    PHPの有名アプリケーションの動作についてやインストールについてここで取り上げるみたいです。期待できますね。

    それと、Mike Volodarsky がやっているブログ、mvolo.com が最近メンテナンスモードに入っていたのですが、なんと今まで友人のガレージで1台のサーバーで動かしていたことが判明。すごすぎ。
    http://blogs.iis.net/mvolo/archive/2007/09/23/mvolo-com-is-back.aspx

    = English =

    [IIS7] IIS.NET site renewal!

    There is a lot of update there!! Probably many people noticed that Windows Server 2008 RC0 was released in the U.S. The site update is related to this release.  There is a blog post explaining what has changed in RC0 regarding IIS7.
    http://blogs.iis.net/mailant/archive/2007/09/24/windows-server-2008-rc0-available-now.aspx

    Also there are many items you can download newly. The major ones are explained in this blog post listing.
    http://blogs.iis.net/tags/IIS+News+Item/default.aspx

    I'll list what I noticed and will check in the next few weeks.

    - FastCGI module for IIS5.1 and IIS6.0 along with IIS6.0 Go Live
    - Windows Media Service RC0 build
    - IIS Manager for remote management RC0 update 32 bit
    - IIS Manager for remote management RC0 update 64 bit
    - IIS7 Media Pack Bit-Rate Throttling Module 32 bit Tech Preview
    - IIS7 Media Pack Bit-Rate Throttling Module 64 bit Tech Preview

    I'll write about the difference from previous versions after I have checked these out in the next couple of weeks. :-)

    They also made a new "PHP on IIS" site.
    http://www.iis.net/php/
    Mike Volodarsky says that they will put information about famous PHP application issues for use with IIS here. I think it would be very useful.

    Also. Mike Volodarsky's blog = mvolo.com was in maintenance mode recently and it turned out that the site was hosted at his friend's garage with no reboots for many months with Beta3...WOW!
    http://blogs.iis.net/mvolo/archive/2007/09/23/mvolo-com-is-back.aspx

  • 【TechNet】 System Center Essentials フォーラムできてます

    安納が中心で動いて TechNetフォーラムへの要望で上がっていた System Center Essentials のフォーラムが実現しました。ぜひご活用いただければと思います。

    System Center Essentials 2007 一般
    (System Center Essentials 2007 に関する話題)
    http://forums.microsoft.com/TechNet-JA/ShowForum.aspx?ForumID=1858&SiteID=36

    ちなみに英語のフォーラムはこんな感じです。
    http://forums.microsoft.com/TechNet/default.aspx?ForumGroupID=92&SiteID=17

    = English =

    [TechNet]  System Center Essentials forum has been created

    Junichi talked to many people to open a forum at TechNet about System Center Essentials. There was actually a request for this in the TechNet Forum request forum so finally we got it there. Please use it effectively for your SCE life :-)

    System Center Essentials 2007 一般 (Japanese Only!)
    (System Center Essentials 2007 に関する話題)
    http://forums.microsoft.com/TechNet-JA/ShowForum.aspx?ForumID=1858&SiteID=36

    Well the original English forum looks like this right now.
    http://forums.microsoft.com/TechNet/default.aspx?ForumGroupID=92&SiteID=17

  • 【IIS7】 IIS7の英語本がもう一冊

    IIS7 と名のつく本は全部予約してるんですが、また1冊出版されたようで手元にきました。

    John Paul Mueller さんが執筆した下記の本です。

    Microsoft IIS7 Implemetation and Administration
    http://www.sybex.com

    この本は 2cm です。まだ今日届いたところなのでこれからじっくり見ますが、章の組み方はいい感じです。

    急いでる方のために。。。
    http://www.amazon.co.jp/Implementation-Administration-John-Paul-Mueller/dp/0470178930/ref=pd_bbs_sr_2/249-3646505-6177154?ie=UTF8&s=english-books&qid=1190275684&sr=8-2

    = English =

    [IIS7] Another IIS7 English book comes out

    I have reserved every book that says "IIS7" so I am receiving one book at a time. One came today.

    It's the following book written by Mr. John Paul Mueller.

    Microsoft IIS7 Implemetation and Administration
    http://www.sybex.com

    This book is 2cm =0.8 Inch in height. Well it just came today so I'm gonna read it thoroughly but the chapter layout seems very nice.

    For people who are in a hurry...
    http://www.amazon.com/Implementation-Administration-John-Paul-Mueller/dp/0470178930/ref=sr_1_1/002-2463758-2180054?ie=UTF8&s=books&qid=1190275763&sr=8-1

  • 【REMIX】 イベントが開催、終了しました

    Silverlight, Expression Studio, Windows Live, Windows Media など盛りだくさんなイベントでした。 私は例によってIIS7のセッションを担当させていただきましたが、ご参加いただいた大勢のお客様、ありがとうございました。ここでいくつかの宿題を果たしたいと思います。

    ●配布資料に無かったスライドの内容
    n 台を管理する際に WinRS と Appcmd の組合せの他に PowerShell の活用事例を説明するところで一枚スライドを前日に追加しました。その内容は下記です。

    PowerShell の強みの一つはテキストファイルをループに使用してコマンドをパイプして打てることです。そして、アプリケーション&システム構成の配布を行う場合にIIS7ではフォルダを XCOPY する方法で行えることをうまく活用すると、以下3.のようなコマンドレットを書いておくことで非常に便利に任意のサーバー台数に展開できます。PowerShell はパイプの受け渡しにオブジェクトを使えるのでここで書いているのはほんの一例であって、もっと複雑なこともできるのは言うまでもありません。

    1. RestOfFarm.txt ・・・ 展開先サーバー名の一覧を書いたテキストファイル

    Server1
    Server2
    Server3
    Server4

    2. AppManifest.txt ・・・ 展開したいフォルダの一覧を書いたテキストファイル
    この例では実は展開済みのPHPエンジン(c:\php)を一緒に配ってしまう発想です。

    C:\PHP
    C:\App1
    C:\App2
    D:\App3

    3. コマンド

    # file: Deploy-Application.ps1
    $sourceMachine = "DemoServer1"
    $farmList = get-content '.\RestOfFarm.txt'
    $filesToCopy = get-content '.\AppManifest.txt'
    foreach ($targetMachine in $farmList)
    {
       foreach ($file in $filesToCopy)
       {
          $sourcePath = "\\" + (join-path $sourceMachine $file)
          $destPath   = "\\" + (join-path $targetMachine $file)
          write-host -for yellow "$targetMachine : Copying files from $sourcePath"
          copy-item $sourcePath $destPath -recurse -force
       }
    }

    で実際に実行する際はPowerShell内で以下のように1コマンドで実行できる。

    PS C:\> .\Deploy-Application.ps1

    この方法の長所はシンプルでいながら、テキストファイルに n 台(それこそ1000台でも)書けばスケールすること、展開したいアプリケーションのリストも追加すれば増えること、非同期でこれを複数で実行するように工夫をすれば実践で本当に使えるソリューションだということをお伝えしました。


    ●いただいたいくつかのご質問のご紹介

    - Virtual Server を Vista 環境(IIS7)で動かすとメッセージが出てうまく使えない
    Virtual Server 2005 R2 SP1 のWeb 管理ツールでメッセージが出て使えないということであれば、IEを管理者起動しているかどうかをお聞きしました。

    ※仮想環境については 田辺、高添 のブログをご覧になるとこれ以外でもヒントが見つかるかもしれません。

    - スライドにVistaとXPでのファイル転送効率の話があったがどこかにこの公開資料はないか
    私のスライドにあった資料とは違いますが、下記なんかいかがでしょうか。
    http://download.microsoft.com/download/4/b/4/4b455e48-72c4-4a04-b9a5-892fd497087a/tollyresults.pdf

    日経ITPROさんのこんな記事もありますね。
    http://itpro.nikkeibp.co.jp/article/COLUMN/20070712/277389/?L=rss

    私の使っているグラフの出所を再確認したところ、Microsoft.com の運用チームが米国 Tech・Ed で行ったセミナーのスライドにあったもので、作成条件は フランクフルトにあるサーバーからインターネット経由でインターネットに直接接続しているマシンをデュアルブートにして XP SP2 と Vista を比較して作成したもののようで、公開はされていません。転送レートは154kbps 対 432kbps だったようです。
    下記でグラフの作者の解説が見れます。ヨーロッパで話しているものが公開されていますが英語です。

    http://www.microsoft.com/emea/spotlight/paul_wright_brad_leross_microsoftcom_employing_windows_server_2008_and_internet_information_services_7_.aspx

    - ASPのアプリケーションをクラシックモードでテストしているけど、動作しないものが。。。
    お聞きしたところ、IIS6 で使用しているが IIS5互換モードで動かしているものをクラシックモードに持ってきたとのことでした。クラシックモードはあくまでも IIS6 のネイティブモード、ワーカープロセス分離モードの互換モードですので、IIS6 にアプリケーションを移行する際にワーカープロセス分離モードで動作するかどうかを確認していないアプリの場合、ワーカープロセス分離モードに持っていって起こることがそのまま当然起こります。ここでの判断は天秤で、ワーカープロセス分離モードでの検証を行うか、いっそのことIIS7の統合モードまで一気に持っていくかをサンプリング検証(最も複雑なアプリ とか 特殊なアプリ)で判断するとどうか というような話をしました。また、ASPの場合、むしろ互換性判断をしなければいけないのは呼び出しを行っている COM+ コンポーネントだという点もお伝えしました。ASPのページそのものはかなりの確度で動くと思います。

    あと、今日のテーマで何か新しい発見があったらまたここに書きます。(^-^)


    = English =

    [REMIX] The event was held and done

    Silverlight, Expression Studio, Windows Live, Windows Media  many many cool stuff. I was speaking about IIS7 as usual and thank you to everyone who attended my session. I'd like to do some of the homework here...

    // A slide I didn't have in the handsout
    When you want to manage multiple servers, one option is to use WinRS along with Appcmd. I added a slide last night where I was discussing about the possibility and power of Windows PowerShell. 

    One example of the great things about PowerShell is you can use a text file as an input for looping something. Also the IIS7 ability to XCOPY applications and configuration for deployment comes in. When these are combined, you can for instance use a commandlet as in 3. below very conveniently to deploy apps to a huge number of servers very easily. With PowerShell you can use obejcts for piping stuff so this is just a very simple example what you can do and the possibility that lies here is far more bigger than what the following does.

    1. RestOfFarm.txt
    A text file listing the server names where you want to deploy. If you change this to 1000 lines, you can deploy to 1000 servers although with that size, you'll need some tweaking to make it happen not sequentially but in parallel.

    Server1
    Server2
    Server3
    Server4

    2. AppManifest.txt
    A text file listing the application folders you want to deploy. In this case, you're actually deploying the PHP engine itself too.

    C:\PHP
    C:\App1
    C:\App2
    D:\App3

    3. Commandlet

    # file: Deploy-Application.ps1

    $sourceMachine = "DemoServer1"
    $farmList = get-content '.\RestOfFarm.txt'
    $filesToCopy = get-content '.\AppManifest.txt'
    foreach ($targetMachine in $farmList)
    {
       foreach ($file in $filesToCopy)
       {
          $sourcePath = "\\" + (join-path $sourceMachine $file)
          $destPath   = "\\" + (join-path $targetMachine $file)
          write-host -for yellow "$targetMachine : Copying files from $sourcePath"
          copy-item $sourcePath $destPath -recurse -force
       }
    }

    And what you actually type when you execute is the one short line below...

    PS C:\> .\Deploy-Application.ps1

    This way of deployment is very simple in design but scales just editing the text files and if you do the tweaking, it will be actually a practical solution in real world.

    //Introducing several questions I received after the session

    1. A message shows when I install Virtual Server on a Vista x64 machine running IIS7
    If the web administration tool of Virtual Server 2005 R2 SP1 is showing some message that says you can't access something, how about trying IE in admin mode.

    For virtualization issues, I strongly recommend checking out Shigeya's and Osamu's blog where you might be able to also find hints other than this one.

    2. There was slide about XP and Vista TCP difference and is there a public place you can get the chart?
    Well it's not the same chart but how about this whitepaper?
    http://download.microsoft.com/download/4/b/4/4b455e48-72c4-4a04-b9a5-892fd497087a/tollyresults.pdf

    There's also an article at Nikkei IT PRO below.
    http://itpro.nikkeibp.co.jp/article/COLUMN/20070712/277389/?L=rss

    I re-checked where I got the chart in my slide and it was from a session slide @ Tech・Ed done by the Microsoft.com team. The backgrounds of this chart meaning how they got the data is they tested downloading a file on a server in Frankfurt accessing from a Internet connected dual boot machine that has Windows XP SP2 and Windows Vista. Unfortunately, the chart itself I couldn't find it in public places. The transfer rate difference was XP: 154kbps vs. Vista: 432kbps.

    You can watch a video at this site which is the same session spoken in Europe - in English.
    http://www.microsoft.com/emea/spotlight/paul_wright_brad_leross_microsoftcom_employing_windows_server_2008_and_internet_information_services_7_.aspx

    3. I'm testing some ASP apps in classic mode but there seems to be ones that don't work
    What I heard was that this person tried to bring applications that are executing on an IIS6 box in IIS5 compatibility mode to IIS7 classic mode. IIS7 classic mode is a compatibility mode with IIS6 worker process isolation mode, the IIS6 native mode. So if the app is not tested against IIS6 native mode, what will happen there will also happen in IIS7 classic mode obviously. So I advised doing a trial with some specific apps - big and complicated ones or doing something special - and decide trying worker process isolation mode testing and IIS7 integrated mode testing and compare which is the solution to choose for the customer's situation. Also if you're talking about ASP, I'd say the compatibility problems would be in the COM+ component functions and probably the ASP page itself won't have any problems.

    If I get any updates about today's topic, I'll write again. :-)

     

  • 【IIS7】 [HOW TO] 無償の簡易 Web 負荷ツール WCATの使い方

    WCATに興味がある方が多いようなので、英語提供のものの日本語翻訳を少し載せてみました。 

    // はじめに

    無償のツールとして以前はWASTWeb Application Stress Tool)という名前のものがあったり、Visual Studio 2003に付属のApplication Center Testなどが簡易的に使えるツールとして注目されていました。もちろんTCP/IPのポートをどのように使うかなどかなりの制御を行いたい場合にはもっと他の有償(しかも普通かなり高価)ツールが必要なのですが、単純に環境のベンチマークをしたり、比較を簡易的に行いたい場合にはこの辺りの無償ツールが役に立つわけです。今回ご紹介するWCATWeb Capacity Analysis Tool)はWindows開発部門のパフォーマンス部隊やIISの開発チームが実際に負荷かけに使用しているもので無償でご提供しているツールの割に結構使えると思います。

    // WCATの入手方法

    今の最新バージョンは6.3http://www.iis.net のサイトから入手できます。

    86環境用
    http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1466

    x64環境用
    http://www.iis.net/downloads/default.aspx?tabid=34&i=1467&g=6

    実はIIS 6.0 Resource Kitに収録されているツールだったりするので下記でも前のバージョンが得られます。

    IIS 6.0 Resource Kit
    http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1352 

    私が中身を理解するのにいつもご紹介しているのが下記の記事の内容なんですが、ここで登場するThomas Demlが作成したパフォーマンススクリプトをそのまま使うには6.3ではなくIIS 6.0 Resource Kitの方を使わないとパスが違ったりしてすぐに動かないのでこの記事の動きをみたいだけであればリソキの方を使いましょう。

    http://blogs.iis.net/bills/archive/2006/10/31/PHP-on-IIS.aspx

    // 実際の動かし方

    動作確認をするのであれば是非 上記のBill StaplesIIS開発チーム責任者)のブログ記事を参考に動かしましょう。それが一番の早道だと思います。

    // V6.3付属ドキュメントの翻訳(奥主 見解)

    Readme.txt

     

    WCATを使い始めるには

    ======================================

     

    - ドキュメンテーション

    必要な環境やコンフィギュレーションの理解を早めるためにWCATのドキュメントを読むことを推奨します。ドキュメントはインストール後の doc フォルダの下に置かれます。

     

    - WCAT をインストールする

    前提条件:WCATが動作するすべてのマシンで有効な管理者アカウントが必要で、すべて共通のパスワードである必要があります。

     

    1. WCAT コントローラのマシンに管理者でログオンする。

    2. wcat.msi WCATコントローラのマシンにインストールする。

    3. WCATエクステンション DLLが利用される場合にはWCATのインストール先にコピーしておく。

     通常 c:\Program Files\WCAT になる。

    4. コマンドプロンプトを開き、WCATフォルダへ移動する。

    5. cscript //h:\Cscript を実行する。

    6. wcat.wsf -terminate -update -clients [カンマ区切り、スペースなしのWCATクライアントマシンのリスト] を実行する。

     注意:WCATコントローラのマシンもWCATクライアントを兼ねる場合にはリストに localhost(マシン名でもOK) を含めること。

     注意:WCATWCATクライアントにインストールされたことがなく初めての場合、再起動が必要になる。

     

    - WCATを実行する

     

    1. WCATコントローラに管理者でログオンする

    2. wcat.wsf –terminate –run –clients {comma separated client list} –t {scenario file} –f {settings file} –s {name of the Web Server} –singleip -x を実行する

    3. 出力はカレントディレクトリに生成され、log.xmlという名前。これを変更したい場合には -o パラメータを使用する。
     wcat.wsf に渡すパラメータのオプションについては wcctl.exe -? でヘルプを参照する。

    wcat.doc

    59ページあるので時間を見つけないと翻訳が難しいですが、詳細については是非このドキュメントも読みましょう。
    c:\Program Files\WCAT\doc\WCAT.doc

    何かUpdateがあればコメントしようと思います。

  • 【☆ミ】 個人的にはここ最近でもっとも大きいWoW

    Vista が出てから 毎日Wow がいっぱいだったんですが。。。アメリカ人的にはWowって「すげぇ」とか「おおー」とかいう意味です、ちなみに。。。

    Microsoft and Sun Expand Strategic Alliance

    Sun to Become Windows Server OEM and Companies to Collaborate on Cross-platform Virtualization
    http://www.sun.com/aboutsun/pr/2007-09/sunflash.20070912.1.xml

     

    こちらでオーディオキャストを聴けます。

    http://www.sun.com/aboutsun/media/presskits/2007-0912/index.jsp

     

    エンドユーザーにとってはすごくいいことですね、これは。Windows も Solaris ユーザーも。

     

    = English =

     

    [Other] In a personal view point, this is the biggest WoW recently


    Well there were many WoWs since Vista came to market. American people use Wow as a word meaning "Great!" or "Unbelievable!" just in case.

    Microsoft and Sun Expand Strategic Alliance

    Sun to Become Windows Server OEM and Companies to Collaborate on Cross-platform Virtualization
    http://www.sun.com/aboutsun/pr/2007-09/sunflash.20070912.1.xml

     

    You can hear the audiocast of this press release here...

    http://www.sun.com/aboutsun/media/presskits/2007-0912/index.jsp

     

    This I think is great for both customers - Windows & Solaris.

  • 【IIS7】 アプリケーションプールが結構 鬼門?!

    いわゆる IIS6.0のネイティブモード、ワーカープロセス分離モードを特に開発をやっていらっしゃる方で経験されていないケースが結構あるのがここ数日のサーフィンをしている中で感じました。これはWindows Server 2003を未経験でWindows Server 2000 経験者、開発はクライアントで、且つ 2000 か XP でやっている方であれば当然のことかもしれません。体験済みの方はもうご存じだと思いますが、Vista にはアプリケーションプールを使う機能がありますのでそこで面食らうことになるということになっているようですね。

    さて、アプリケーション プールってなんであるんでしょうね?

    色々な理由が挙げられてきましたが、いくつかご紹介しましょう。

    * アプリケーション個別でどうリソースが使われているかを把握するために隔離するため
    * あるアプリケーションに特定のユーザーの権限で実行させたい
    * あるアプリケーションに問題があった場合に他のアプリケーションに影響を与えないため

    などなど、細かく表現すると本当に色々あります。

    ではもっと遡って、今までのIISではこのいわゆる「プロセスを分離する」考え方をどう取り扱ってきたのでしょうか?

    =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

    第一段階:

    IISと同じプロセス内でアプリケーションも動作 IIS5でいうところの「低(IIS プロセス)」
    IIS開発当時からある方式。

    第二段階:

    IISとは別にアプリケーション起動とともにプロセスを起動する IIS5でいうところの「高(分離プロセス)」
    IIS4(分離プロセス)から登場した選択肢。

    第三段階:

    IISとは別のプロセスに指定したアプリケーションだけプールされて実行される IIS5でいうところの「中(プール)」
    IIS5から登場した選択肢。XPはIIS5.1でこの段階。
    ※XP の x64版 はWindows Server 2003 の開発ツリーですから実はIIS6 なのが注意。

    第四段階:

    IISとは別でかつ任意のアプリケーションの組合せでプロセスを起動する
    この第四段階のアプリケーションのグルーピングに使うのが アプリケーション プール です。
    IIS6から登場した選択肢。ワーカープロセス分離モードにすると利用できる。IIS5 互換だと第三段階まで。

    =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

    IIS7では基本的にこのプロセス分離の考え方はIIS6と同じですからクラシックモード、統合モードともにこの概念を知っていないとわからなくなってしまう訳ですね。また、XPをアップグレードした場合には前にブログを書いたサポート技術情報にあるように1つのアプリケーションプールに全部寄せられたりするのでさらにわかりにくいかもしれません。でもあくまでも第四段階の構造で、そこはIISの設定としてきちんと検討すべきポイントだというのをわかってもらえたらなと思います。

    = English =

    [IIS7] Seems like application pool is the one everyone is having trouble with

    IIS6's native mode, Worker Process Isolation Mode is not well understood by many people especially developers from my net surfing research in the last couple of days. This would probably be people who haven't experienced Windows Server 2003 yet and an experienced Windows 2000 Server user. Also these people are obviously using Windows 2000 and Windows XP as development platform. People who have already experienced Windows Vista, IIS7 has the application pool feature so there everyone experiences this and feel "What the heck is an Application Pool?"

    So why is there a need for this Application Pool thing?

    There have been many reasons said, I'll just write some of them here.

    * Need it to make clear which application is using how much resource
    * Need it to execute a specific application in a user context of choice
    * Need it to isolate applications that have a problem or make the risk lower when a problem happens

    If you point it out in detail, there will be much more reasons to tell.

    Well let's dig deeper into the past and see how IIS has treated this process isolation idea.

    =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

    1st Stage:

    Application executes inside the IIS process. Low in IIS5
    This one existed from the beginning of IIS

    2nd Stage:

    Application executes in it's own process besides IIS. High in IIS5.
    This mode was from IIS4 - Isolated Process.

    3rd Stage:

    Application executes in another process other than the IIS one but is pooled in one process. Middle in IIS5. (maybe it's medium. I haven't checked the English UI)
    This appeared from IIS5. Obviously XP is IIS5.1 so XP is in this stage.
    **x64 XP is on the same build tree as Windows Server 2003 so it's IIS6 so be careful.

    4th Stage:

    Application executes in a process the Web administrator sets as Application Pool.
    This appeared from IIS6. This is enabled in the IIS6 native mode, worker process isolation mode.
    If IIS6 is executing in IIS5 compatible mode, the application pool settings don't appear.

    =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

    IIS7 has the same process isolation logic as IIS6 so which ever mode you are using, Classic or Integrated mode, if you don't understand what this is, it would be complicated to understand how the application works inside. Also, as I wrote in previous posts, if you upgrade XP to Vista, the applications will be connected to one application pool so this makes it more complicated to understand. Well if you understand the differences above, it's just in the 4th stage and it's a setting you need to decide when you use IIS6 and above. I hope you get the point...

  • 【IIS5】 [HOW TO] Windows XP IIS5.1でFastCGI+PHP5環境を作ってみる

    // はじめに

    IISPHP環境として動作させる上でスレッドセーフで無いライブラリの利用にISAPI拡張が適していないなど多くの要望がIISの開発チームには寄せられていたといいます。IISチームはこの点を重大に捉え、PHPをご利用になっている方々向けの支援を強化するためにZend Technologies 社との協業をしたり、IISに手を入れたりと色々と動きだしました。

    // PHP動作環境の構築

    ここではWindows XP SP2での方法を書きます。Vista2008用はもう一つのフォーラムで取り上げることにします。

    また、ここでは www.php.net で提供しているPHPバイナリを利用します。Zend社のCoreはインストーラもあり、さらに簡単にできますが、敢えてここではIIS開発チームがやっている通りの方法で書いてみます。

    1.    IIS5.1を用意する
    インストールはプログラムの追加と削除、Windowsコンポーネントの追加と削除から行います。
    少なくともインターネット インフォメーション サービス(IIS)にチェックを入れる。

    http://localhost にアクセスしてきちんとIISが動作していることを確認します。

    2.    FastCGIを入手する
    WindowsXP
    ではインストールが必要です。
    http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1300

    ※まだ最終製品版ではありませんので、注意。

    3.    FastCGIをインストールする
    まずは展開します。ここではc:\fcgiに展開したものとして進めます。
    コマンドプロンプトを開き、
    cd c:\fcgi
    3-1. FastCGI
    をインストールする

     cscript fcgisetup.js /install
    3.2. php
    拡張子のマッピングを行う

     cscript fcgisetup.js /r /add c:\php\php-cgi.exe PHP

    4.    PHPバイナリを入手する
    http://www.php.net/downloads.php へアクセスいただき、FastCGIでの動作を想定してノン スレッドセーフなバイナリのZipを入手します。これを書いている現時点では 5.2.4 があります。

    5.    PHPバイナリを展開する
    ここではC:\PHPに展開しましょう。

    6.    PHP.iniを作成、編集する
    php-dist.ini
    php.ini としてコピーする。
    extension_dir c:\php\ext に変更する。

    7.    動作確認用のPHPファイルを作る
    phpinfo
    関数がいいでしょう。文法は無視してます、ご容赦。
    メモ帳でgogo.php という名前で下記だけ書いたテキストファイルを作ります。
    <?php phpinfo() ?>

    8.    実際にアクセスしてみる
    http://localhost/gogo.php

    Windows XP環境でのPHPセットアップは従来インターネットを探すとISAPIを用いる方法が掲載されていましたが、今はFastCGIで環境をお作りいただけるようになりましたのでこちらをお勧めします。

    Windowsではプロセスを実行単位としてさらにその中でスレッドが複数動く構造になっていますが、PHPの動作環境としてISAPIで動作させるとPHPのアプリケーションはインプロセスすなわち、それぞれスレッドという空間で動作する仕組みになります。この場合、PHP関連のライブラリで1つのプロセス内の複数スレッドで動作することを想定したつくりになっていないと問題が発生する原因になります。一方でCGIの形態で動作させることも可能で、この場合には今度Windows環境ではパフォーマンスに大きく影響のあるリクエスト毎のプロセス起動というコストの高いオーバーヘッドを抱えてしまい、実行スピードに影響が出ます。この状況から長い間、PHPを利用している方々からIISの開発チームにはちゃんと対応してという声が多く寄せられていました。今回 まだ製品版ではありませんが、提供されたFastCGI対応モジュールはこの二つの問題を解決するものです。FastCGIはプロセスを一旦起動するとそれを次回の利用のためにプールする仕組みで動作しますので、後者の起動オーバーヘッドがない、プロセス毎に動作しますのでスレッドセーフでない点もクリアになり、今までよりも安定して速い環境を提供できるようになります。

    実際のサイトを設定するにはindex.php を既定のドキュメントに追加するとか色々あると思いますが、その辺も含めてまた書きます。

  • 【IIS7】 そろそろいいことばかりでなく、現実的なことも重要か

    仕事柄 しばらく じっくりとサポート技術情報を眺めることに時間が取れなかったんですが、そろそろVistaをお試しいただいている方も増え、色々なことに遭遇しているでしょう。サポート技術情報で見たIIS7を少し書いておきましょう。各技術情報の一番下に該当製品名が列挙されるのはご存じの通りなので、 "Internet Information Services 7.0" で検索をした今日時点の結果ですが、下記がヒットしました。9/10時点、33件。

     

    Error message when you try to install version 2.5 of the UrlScan tool on a computer that is running Internet Information Services 7.0: "Installer cannot install UrlScan because IIS version 4.0, 5.0, 5.1, or 6.0 is not installed on this computer" 

    (931206) - Describes an issue in which you cannot install the UrlScan tool on a computer that is running Internet Information Services 7.0. ... Also, Request Filtering is available as a role that you can install when you install Internet Information Services 7.0.

    http://support.microsoft.com/kb/931206/en-us

     

    リクエストフィルタリングの機能はIIS7.0ではモジュール化されているのですが、そのままUrlScanを使うとどうなるかという内容ですね。

     

    How the Internet Server API filter notification process has changed in Internet Information Services 7.0 

    (931205) - In IIS 7.0, the SF_NOTIFY_AUTHENTICATION ... This article contains information about how the Internet Server API (ISAPI) filter notification process has changed in Microsoft Internet Information Services (IIS) 7.0. ... However, in IIS 7.0, the SF_NOTIFY_AUTHENTICATION ...

    http://support.microsoft.com/kb/931205/en-us

     

    ISAPIフィルターに関して動作が変ったという話。SF_NOTIFY_URL_MAPSF_NOTIFY_AUTHENTICATIONの実行順が変るという内容です。

     

    You receive an error message when you try to view a Web page from a Web site that uses pass-through authentication in Internet Information Services 7.0 

    (934515) - Describes a behavior that occurs when a Web page is stored in a UNC directory and when the Web site uses pass-through authentication in IIS 7.0. ... Consider the following scenario: A computer is running Microsoft Internet Information Services (IIS) 7.0.

    http://support.microsoft.com/kb/934515/en-us

     

    アプリケーションをUNCフォルダに置いているケースが該当する認証の話。

     

    How to use the Appcmd.exe command-line tool to enable and configure HTTP logging and other features in Internet Information Services 7.0 

    (930909) - Explains how to use the Appcmd.exe command-line tool in Internet Information Services (IIS) 7.0 to enable and configure HTTP logging and other features. ... The following features cannot be configured by using the Microsoft Internet Information Services (IIS) 7.0 Manager: HTTP ...

    http://support.microsoft.com/kb/930909/en-us

     

    Appcmdの使い方ですね。

     

    The exit message of an Internet Information Services 7.0 FTP site is truncated to only 1,017 characters 

    (931209) - Describes behavior that occurs if you specify an FTP exit message that is longer than 1,017 characters for an Internet Information Services 7.0 FTP site. ... Click Start , type iis manager in the Start Search box, and then click Internet Information Services (IIS) 6.0 ...

    http://support.microsoft.com/kb/931209/en-us

     

    FTPExitメッセージの文字列長制限が1024 - 7文字 だという話。7文字は221のステータスコード、あとはスペースとLFCRということらしい。

     

    Internet Server API authentication filters that were created for earlier versions of Internet Information Services do not work correctly in Internet Information Services 7.0 

    (931203) - After you upgrade to Microsoft Internet Information Services (IIS) 7.0, Internet Server API (ISAPI) authentication filters that were created for earlier versions of IIS do not work correctly. ... In the Windows Features dialog box, expand Internet Information Services , expand World ...

    http://support.microsoft.com/kb/931203/en-us

     

    ISAPIフィルターの互換性に関する話。基本認証がインストールされていないとエラーが出るケースの説明。

     

    FIX: HTML documents may not be displayed correctly in Internet Information Services 7.0 after you upgrade from Windows Vista Home Basic 

    (930901) - After you upgrade from Windows Vista Home Basic, HTML documents may not be displayed correctly in Microsoft Internet Information Services (IIS) 7.0. ... In the Windows Features dialog box, expand Internet Information Services , and then expand World Wide Web Services .

    http://support.microsoft.com/kb/930901/en-us

     

    VistaEdition間アップグレードを行った際、具体的にはHome Basicから他の上位のEditionHTMLを正しく処理できなくなる問題の報告です。対策はpkgmgrを使ってコマンドベースで/uu、つまりアンインストールしてGUIで入れ直しと書いてありますが、pkgmgrでもう一回/iuしてもOKということになりますね。

     

    The URLScan tool and some ISAPI filters do not work correctly after you upgrade to Windows Vista and Internet Information Services 7.0 

    (931199) - After you upgrade a Microsoft Windows XP-based computer that is running Microsoft Internet Information Services 5.1 to Windows Vista and Internet Information Services 7.0, the URLScan tool and some ISAPI filters do not work correctly. ... Vista and Internet Information Services 7.0, the URLScan ...

    http://support.microsoft.com/kb/931199/en-us

     

    XPからVistaへのアップグレードネタで、ISAPIフィルターが正しく動作しないというもの。これはアプリケーションプールでの動作概念により、ロードされるプロセスの実行アカウントが既定ではNetwork Serviceであるので権限が無い状況になっているのが理由。

     

    How to create a log file that can help troubleshoot IIS Admin Base Objects (ABO) Mapper errors in Microsoft Internet Information Services 7.0 

    (931208) - Describes how to enable the IIS Admin Base Objects (ABO) Mapper error log file in Internet Information Services 7.0. This article discusses how to create a log file that can help troubleshoot Microsoft Internet Information Services (IIS) Admin Base Object (ABO) Mapper errors in IIS 7.0.

    http://support.microsoft.com/kb/931208/en-us

     

    ABOをアクセスするための互換性WrapperABOマッパーの問題解析のためにログを取得する方法が書いてある。

     

    Several Internet Information Services 7.0 features are installed and enabled when you upgrade from Windows Vista Home Basic 

    (930902) - When you upgrade from Windows Vista Home Basic, several Microsoft Internet Information Services (IIS) 7.0 features are installed and enabled. ... In the Windows Features dialog box, expand Internet Information Services , and then expand World Wide Web Services .

    http://support.microsoft.com/kb/930902/en-us

     

    Home Basicから上位Editionへのアップグレードを行うといくつかのモジュールがインストールされ、有効になるよ という話。

     

    You cannot visit an Internet Information Services 7.0 Web site from a remote computer 

    (931207) - Describes behavior that occurs if some ports are not open in Windows Firewall to allow for traffic from remote computers to an Internet Information Services 7.0 Web site. ... To allow for remote connections to the Internet Information Services 7.0 Web site, add exceptions to Windows Firewall.

    http://support.microsoft.com/kb/931207/en-us

     

    リモートコンピュータからIIS7.0ベースのWebサイトにアクセスできないという話。無論、セキュリティ強化によるWindows Firewall設定が必要ということ。

     

    Error message when you try to visit a Web page that is hosted on a computer that is running Internet Information Services 7.0: "HTTP Error 503. The service is unavailable" 

    (931198) - Describes an issue in Internet Information Services 7.0 in which you receive an error message when you try to visit a Web page. ... The computer is running IIS 7.0 and the original release version of the .NET Framework 2.0 (version 2.0.50727).

    http://support.microsoft.com/kb/931198/en-us

     

    %windir%\Microsoft.NET\Framework にベータ版の.NET Framework 2.0があると503が出るらしい。503は通常、applicationHost.configを他のマシンからコピーして実際のそのマシン上のモジュール構成が異なる場合に出るケースの方が多いのだが、このケースでも出るとのこと。

     

    Error message when you try to install the ASP.NET feature in IIS 7.0: "An error has occurred" 

    (929772) - This issue occurs when you try to install the ASP.NET feature in IIS 7.0 after you ... In Microsoft Internet Information Services 7.0 (IIS 7.0), you may receive an error message that resembles the following when you try to install the Microsoft ASP.NET feature: An error has occurred.

    http://support.microsoft.com/kb/929772/en-us

     

    ASP.NET 1.12.0がインストールされたXPマシンをVistaにアップグレードするとISAPIフィルタが2重登録されるという問題報告。一度ISAPIフィルタの登録を解除し、Windows機能の有効化または無効化で再度インストールすることが対処策。

     

    Error message when you request an ASP page that connects to an Access database in IIS 7.0: "Microsoft JET Database Engine error '80004005'" 

    (926939) - Describes a problem that may occur when you request an ASP page that connects to an Access database in IIS 7.0. ... On a Web server that is running Microsoft Internet Information Services (IIS) 7.0, you host an active server page (ASP) that connects to a database.

    http://support.microsoft.com/kb/926939/en-us

     

    Accessデータベースを使っているASPIIS7.0で動かした場合に80004005、要するに”不明”のHRESULTが返るケースの報告。これは問題ではなく、セキュリティ強化による影響ですね。詳細対応手順は技術情報を見てください。

     

    IIS 7.0 does not return the directory list if you enter an FTP LIST command together with a file mask argument 

    (931197) - When you access a Microsoft Internet Information Services (IIS) 7.0 FTP site that is running on a Windows Vista-based computer, you experience the following symptoms: If you enter an FTP LIST command, IIS 7.0 returns the directory list to the FTP client application as expected.

    http://support.microsoft.com/kb/931197/en-us

     

    IIS7付属のFTPFTP6)に接続した際にワイルドカード付きでディレクトリをリストしようと正しく表示されないという問題報告。dir *.xml とかですね。

     

    You cannot view Web pages that are hosted on a Web server that you upgraded from Windows XP SP2 to Windows Vista, and you receive an HTTP 404 error message 

    (930908) - ... that may occur when you upgrade a Web server from Microsoft Windows XP Service Pack 2 ... After you upgrade a Web server from Microsoft Windows XP Service Pack 2 (SP2) to Windows Vista and Microsoft Internet Information Services (IIS) 7.0, you cannot view Web pages that are hosted on the Web server.

    http://support.microsoft.com/kb/930908/en-us

     

    XPからのアップグレードを行ったマシンで一度もIIS Lockdown Toolを実行していない場合、Vistaのインストーラがセキュリティリスクと判断して、W3SVCサービスを有効にしないために起こる問題報告。404が返るとのこと。

     

    Error messages that are related to the component that maps ABO interface calls to the configuration system in IIS 7.0 are logged in the %Windir%\System32\Abomapper.log file 

    (922427) - This article discusses where to find error messages that are related to the component that maps Admin Base Object (ABO) interface calls to the new configuration system in Microsoft Internet Information Services (IIS) 7.0. ... failed with 8007000d For more information about IIS 7.0, visit the ...

    http://support.microsoft.com/kb/922427/en-us

     

    ABOAPIを利用している場合のエラーはマッパーのログに記録されるという技術情報。設定方法は931208HOW TOとして記載されている。

     

    FIX: Error message after you upgrade from Windows XP SP2 to Windows Vista: "Server Application Unavailable. The web application you are attempting to access on this web server is currently unavailable" 

    (930903) - After you perform the upgrade, all ASP.NET 1.1 and ASP.NET 2.0 applications on the Windows Vista-based computer are moved into the AppPool_Low application pool in Microsoft Internet Information Services (IIS) 7.0. ... the Start Search box, and then click Internet Information Services (IIS) Manager ...

    http://support.microsoft.com/kb/930903/en-us

     

    XPからのアップグレードもの。ASP.NET1.1のアプリと2.0のアプリの両方がある場合、そもそもアプリケーションプール一つに対して.NET Frameworkのバージョンは一つしか対応できないのだが、全部AppPool__Lowというアプリケーションプールに集められてしまうために起こる問題報告。アプリケーションプールをちゃんと複数作ってそれぞれに配置する。

     

    The Windows Process Activation Service feature is not turned off when you turn off the IIS 7.0 feature 

    (930911) - When you turn off the Microsoft Internet Information Services (IIS) 7.0 feature on a Windows Vista-based computer, the Windows Process Activation Service (WAS) feature is not turned off. ... Click to clear the Windows Process Activation Service check box, and then click OK .

    http://support.microsoft.com/kb/930911/en-us

     

    IIS7はプロセス起動サービスあるいはよくWASと略す機能に依存していますが、WCFでの利用などを考慮してIIS7をアンインストールしてもWASは残るという話。

     

    You receive a "The process cannot access the file because it is being used by another process" error message when you try to start a Web site in the Internet Information Services MMC snap-in 

    (890015) - Describes an issue in Internet Information Services (IIS) 6.0 that occurs when you try to manually start a Web site. ... This issue also occurs in IIS 7.0 on Windows Vista. ... At the command prompt, type the following command: netstat -ano Note For more information about the ...

    http://support.microsoft.com/kb/890015/en-us

     

    Webサイトが起動せず、システムイベントでW3SVC 1004HTTP 15005 が記録される問題。これはIISが既定で利用するポートを他のプロセスが利用している場合に発生する模様。

     

    The requirements for using the ODBC logging feature in Internet Information Services 

    (931202) - Contains information about how to use the SQL Native Client ODBC driver and ODBC logging in IIS. This article describes some of the requirements for using the Open Database Connectivity (ODBC) logging feature in Microsoft Internet Information Services (IIS).

    http://support.microsoft.com/kb/931202/en-us

     

    ODBCログをIIS7で利用する場合の条件があるとのこと。SQL Native Client ODBC driver IIS7では対応していない模様。ロギングの設定方法自身は245243を参照。

     

    List of registry keys that are migrated when you upgrade from IIS 5.1 on Windows XP to IIS 7.0 on Windows Vista 

    (930907) - Explains that some registry keys and values are not migrated when you upgrade to IIS 7.0. ... When you upgrade from Microsoft Internet Information Services (IIS) 5.1 on Microsoft Windows XP to IIS 7.0 on Windows Vista, some IIS registry keys and values are not migrated.

    http://support.microsoft.com/kb/930907/en-us

     

    XPからVistaへアップグレードするとレジストリのキーで移行されないものがあるとの報告。リストが記載されているのでチェックする。

     

    FIX: CGI applications that set multiple instances of a response header in IIS 7.0 do not work as expected

    (932385) - Fixes a problem that occurs when IIS 7.0 is running on Windows Vista. When you use the Virtual Server Administration Web application to change some Web site properties, the changes are not saved as expected.

    http://support.microsoft.com/kb/932385/en-us

     

    CGI動作のアプリケーションでレスポンスヘッダーを複数付与するものの場合、IIS7では期待通り動作せず、最後のレスポンスヘッダーを使うとの問題報告。HotFixもの。

     

    You receive an error message when you try to create a Visual Studio 2005 ASP.NET project on a Windows Vista-based computer

    (936857) - Describes an issue that occurs when both Visual Studio 2005 and IIS 7.0 are installed on a Windows Vista-based computer. You receive an error message when you try to create an ASP.NET project that is hosted in IIS 7.0.

    http://support.microsoft.com/kb/936857/en-us

     

    VS2005ASP.NETプロジェクトをVistaで作成しようとするとエラーが発生する問題で、メタベース互換性機能をインストールすることが対処方法。

     

    Host header names that contain an underscore character are not supported in IIS 7.0

    (937688) - Explains that underscore characters (_) are not supported in host header names in IIS 7.0. You receive a "The host header specified is invalid" error message.

    http://support.microsoft.com/kb/937688/en-us

     

    IIS7ではホストヘッダーにアンダースコアが使えないという新しい制限の話。

     

    FIX: Error message when you try to debug an ASP.NET 2.0 application in Visual Studio 2005 on a Windows Vista-based computer: "Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled"

    (937523) - Describes a problem that occurs when you try to debug an ASP.NET 2.0 application in Visual Studio 2005 on a Windows Vista-based computer, and you receive an error message. Includes a hotfix to resolve the problem.

    http://support.microsoft.com/kb/937523/en-us

     

    VS2005でのデバッグでエラーがHome BasicHome Premiumで出る話。Windows認証のモジュールが無いことによって発生する問題の模様。VS2005SP1ベースのFixがある。

     

    All ASP.NET applications run in the same worker process after you upgrade a Windows XP-based computer that is running IIS 5.1 to Windows Vista 

    (930912) - You install Microsoft ASP.NET 1.1 and Microsoft ASP.NET 2.0 on a Microsoft Windows XP-based computer that is running Microsoft Internet Information Services (IIS) 5.1. ... For example, both the ASP.NET 1.1 application and the ASP.NET 2.0 application run in the same application pool in IIS 7.0.

    http://support.microsoft.com/kb/930912/en-us

     

    930903により具体的な話があるが、XPからVistaへのアップグレードを行うと、同じワーカープロセス内で1.12.0のアプリケーションが配置されることによって発生する問題。XPの時点でプロセス分離の指定を高にすると回避できる模様。ただ、結局どう動かしたいかをちゃんと考えてアプリケーションプールを指定することが推奨。IIS6.0の経験が無いと悩みそうですね。

     

    Description of the default settings for the MimeMap property and for the ScriptMaps property in IIS

    (936496) - Describes the default settings for the MimeMap property and for the ScriptMaps property in IIS.

    http://support.microsoft.com/kb/936496/en-us

    FIX: Internet Information Services 7.0 removes custom values in the Web.config file

    (930451) - Fixes a problem that occurs when you modify the configuration for any delegated feature.

    http://support.microsoft.com/kb/930451/en-us

     

    HotFixものだ。委任系の設定を行うとそれまでにあったアプリケーション独自で追加していたweb.configの情報が無くなってしまうという事象。これはいかんです。

     

    ASP.NET Trace Provider information is removed from the applicationHost.config file after you install Active Server Pages on a Windows Vista-based computer 

    (931200) - Describes an issue in Internet Information Services in which ASP.NET trace provider information is removed from the applicationHost.config file.

    http://support.microsoft.com/kb/931200/en-us

     

    あらら。VistaASP.NETを入れる。そうして別にその後でASPを入れるとASP.NETTrace Provider情報がapplicationHost.config から無くなるという問題の報告。

     

    Error message when you complete a certificate request in Internet Information Services 7.0: "Cannot find the certificate request associated with this certificate file" 

    (931204) - Describes an issue in IIS 7.0 that occurs when you use the Complete Certificate Request feature and you try to finish processing the certificate. In Microsoft Internet Information Services (IIS) 7.0, you use the Complete Certificate Request feature to complete a certificate request.

    http://support.microsoft.com/kb/931204/en-us

     

    サーバー証明書 - 証明書の要求の完了 機能でDERを選択するとエラーが起こる問題報告。Base64OK

     

    Error message when you try to visit an HTML page that is hosted in IIS 7.0 in Windows Vista Home Basic and Windows Vista Starter: "HTTP Error 404.4 - Not Found" 

    (934514) - Explains that Windows Vista Home Basic and Windows Vista Starter have some limitations that causes you to receive an "HTTP Error 404.4" error message when you visit a Web page that is hosted on Internet Information Services 7.0. ... Therefore, you cannot handle HTML pages that are hosted on IIS 7.0.

    http://support.microsoft.com/kb/934514/en-us

     

    Home Basic404.4が返る事象について書いている。これはHome BasicにはIIS7、つまりWebサーバー機能を持っていないことによって起こる。具体的には静的コンテンツを処理するモジュールが無論無いから。

     

    Server activation fails when you use a SOAP WSDL moniker to activate a COM+ SOAP-enabled server on a computer that is running Windows Vista 

    (927672) - Server Version Information: Internet Information Services 7.0. This problem is not a COM+ SOAP service-specific problem. This problem occurs because of a Microsoft Internet Information Services (IIS) 7.0 security enhancement in Windows Vista.

    http://support.microsoft.com/kb/927672/en-us

     

    これは私には濃いネタですね。。。.NET Remotingで起動を行う処理において起動URLにエスケープがダブルで入っているためにIIS7がリクエストに対して404.11を返すという内容。

     

     

    ということで、XPからVistaへのアップグレード、Home Basic関係、VS2005関係 が現時点では注意が必要な状況ということですね。役に立つといいですけど、またどこかでこの情報はアップデートしないとね。。。

     

     

    = English = 

     

    [IIS7] It's about time not to write just good and great things but also realistic stuff

     

    Due to the nature of my current work, I couldn't take time to view the related support knowledge base articles but there must be many people trying IIS7 on Vista so I'd like to report what's there. So this post is about IIS7 @ support.microsoft.com. As you may know, all KB articles list the product at the bottom, as of today there are 33 articles about  "Internet Information Services 7.0". Above I've summarized comments in Japanese what each of them are but I won't do that for English because you can assume what it's about correctly from the titles.

     

  • 【IIS7】 [HOW TO] IIS7.0でFastCGI+PHP5環境を作ってみる

    // はじめに

    IISPHP環境として動作させる上でスレッドセーフで無いライブラリの利用にISAPI拡張が適していないなど多くの要望がIISの開発チームには寄せられていたといいます。IISチームはこの点を重大に捉え、PHPをご利用になっている方々向けの支援を強化するためにZend Technologies 社との協業をしたり、IISに手を入れたりと色々と動きだしました。

    // PHP動作環境の構築

    IIS.NETにその例が載っていますが、日本語で実際に手順を確認してみましょう。IIS7にはVista2008の環境が考えられますが、ここではVistaでの方法を書きます。XP2008用はもう一つのフォーラムで取り上げることにします。

    また、ここでは www.php.net で提供しているPHPバイナリを利用します。Zend社のCoreはインストーラもあり、さらに簡単にできますが、敢えてここではIIS開発チームがやっている通りの方法で書いてみます。

    1.    IIS7を用意する
    インストールはインストール方法のHOW TOをご覧ください。

    http://localhost にアクセスしてきちんとIIS7が動作していることを確認します。

    2.    FastCGIを入手する
    2008
    は標準で入っているのでこの手順が要りませんが、Vistaはインストールが必要です。
    http://www.iis.net/downloads/default.aspx?tabid=34&i=1299&g=6
    ※まだ最終製品版ではありませんので、注意。

    3.    FastCGIをインストールする
    管理者実行でコマンドプロンプトを開き、cd \fcgi\x86
    fcgisetup.exe /install /add c:\php\php-cgi.exe php,phpt

    4.    PHPバイナリを入手する
    http://www.php.net/downloads.php へアクセスいただき、FastCGIでの動作を想定してノン スレッドセーフなバイナリのZipを入手します。これを書いている現時点では 5.2.4 があります。

    5.    PHPバイナリを展開する
    ここではC:\PHP に展開しましょう。

    6.    PHP.iniを作成、編集する
    php-dist.ini
    php.ini としてコピーする。
    extension_dir c:\php\ext に変更する。

    7.    動作確認用のPHPファイルを作る
    phpinfo
    関数がいいでしょう。文法は無視してます、ご容赦。
    メモ帳でgogo.php という名前で下記だけ書いたテキストファイルを作ります。
    <?php phpinfo() ?>

    8.    実際にアクセスしてみる
    http://localhost/gogo.php

    Windows Server 2008での注意点は、

    -       Beta 3 以降 FastCGI CGIの機能をインストールすると一緒にもう入ってます。

    -       fcgisetup ではなく、手で設定します。今度 それも書きます。
    単純にハンドラマッピングの機能でモジュールと拡張子phpを紐づけるだけです。
    *.php
    、モジュールにFastCGIを選ぶ -> CGIを選ぶと従来のCGI動作になりますので性能比較なんかしてみるといいでしょう。

    実際のサイトを設定するにはindex.php を既定のドキュメントに追加するとか色々あると思いますが、その辺も含めてまた書きます。

     

  • 【IIS7】 [HOW TO] IIS7.0の提供形態

    // はじめに

    IISWindows 2000からOSの一つの役割として標準機能の一つになりました。役割とはつまり、そのサーバーをファイルサーバーにするとか、Webサーバーにするとか 「役割」ベースのインストールに由来し、Windows Server 2008ではサーバー機能のインストールの基本になっているので覚えておくといいです。

     

    // IIS7.0の提供形態

    IIS7.0Windows VistaHome Basicを除く)、Windows Server 2008Windows Web Server 2008で提供されます。また、Windows Server 2008から提供が開始されるスタートメニューの無いWindowsServer Coreの形態でも提供されることが6月の米国TechEdで発表がありました。残念ながら Windows XPWindows Server 2003向けには提供の予定は無くなりました。これはIIS7.0の新機能は構造上のコード見直しまで含んでいるためで、従来のOSに搭載するのは厳しいということが背景にあります。開発途上でWindows Server 2003上で動いているのをご覧になったことがある方がいらっしゃるかもしれませんが、それはあくまでも開発途上の部分機能の搭載であり、最終的にIIS7.0に搭載する機能はVista2008 上でなければ実現できないとの判断がありました。

     

    一つ、補足をしておくとHome BasicHTTPを受け付ける機能が無いわけではなく、Webサーバーとしての機能を持たないだけです。つまりWCFを動作させる環境としてはOKということになるのが注意です。Home Premiumも細かいコンポーネントレベルでは認証機能の一部などで利用できない機能があります。

     

    // Server Coreとは?

    Server Core GUIの無いWindowsという捉え方をする方が続出しているようですが、それは半分正しく、半分間違っています。Server Coreが搭載していない代表的な機能はスタートメニュー、.NET FrameworkMMC、エクスプローラ、Internet Explorer であり、もっと細かいところの例を挙げればコモンコントロール類が無い ということになります。しかし、ログオン画面やメモ帳もあったりします。なので「GUIが無い」訳ではないことになります。もう一つ よく質問が出るのが、ASP.NETは動くのかという点ですが、前述のように.NET Frameworkがありませんので動作しません。

     

    Server Coreについてはそもそもの設計思想は基本ネットワーク機能をよりライトでコンポーネント数の少ないサーバーで実装できるようにすることが目的でアプリケーションサーバーとしての利用は想定外でした。もちろんこれは仮想環境も見据えてのことだと理解しています。Server Coreの形態が知られるに連れ、ASP.NETの動作やご存知PowerShellの利用を期待する声が大きくなりました。これはまさに天秤だと言えます。要するに機能数を少なくしてよりセキュアにするのか利用できるシナリオを増やすのかという相反する話です。現時点では.NET Frameworkを搭載するのか、そのサブセットを搭載するのかなど喧々諤々な状況ですが、まだ決定は出ていません。ただ、Server Coreのそもそもの設計思想を考えた時に搭載しないのではないか、他の形態を模索するのではないかと私見では思います。

     

    // 細かいコンポーネントでの差異

    こちらをご覧ください。

    IIS7 Features and Windows Vista Editions

    http://www.iis.net/articles/onepagearticle.ashx/IIS7/Deploy-an-IIS7-Server/Installing-IIS7/IIS7-Features-and-Windows-Vista-Editions

    Updateがあればまたコメントしたいと思います

  • 【IIS7】 [HOW TO] IIS7.0 のインストール方法

    時間がある時によく質問のある内容を書きとめておこうと思います。今回はまずはIIS7に触れる上で最も最初にあたる壁、どうやってインストールするかです。コマンドラインなど、やる段階で「ここを参照すれば」とこの投稿を思い出してもらえるとうれしいです。

    // はじめに

    IIS7 は IIS6 同様、IIS5 の教訓から OS のインストールが行われた段階ではインストールされていません。また明示的にインストールするように指定してもかなり限定的な機能(静的な HTML などをサービスする)のみインストールされます。さらに OS の Edition によって利用できる機能が限定されているものがあります。下記記事にマトリックスが掲載されているのでそこで参照ください。モジュール数だけでなく、一番下に同時接続数の制限も書いてあります。ただ、XP と違い 制限を超えたリクエストはキューに入るだけでいきなりはエラーを返さないという点が注意です。Windows Server 2008 系では制限がありません。これはWindows Vista はあくまでも開発環境として利用することを想定しているということですので極力運用環境で使うことは避けましょう。

    IIS7 Features and Windows Vista Editions

    http://www.iis.net/articles/onepagearticle.ashx/IIS7/Deploy-an-IIS7-Server/Installing-IIS7/IIS7-Features-and-Windows-Vista-Editions

    2009年3月13日 Update:
    http://learn.iis.net/page.aspx/479/iis-70-features-and-vista-editions/

    また、米国のTech・Edで Server Core でのインストールも可能という発表がありました。まず、Server Core に IIS7 が追加されるのは June CTP からで、Beta 3 には含まれていない点が注意です。そして、Server Core は基本ネットワークサービスをライトで攻撃されにくい環境で提供することを主眼に設計されたものなので、.NET Framework が入っていません。なので現時点では ASP.NET は動作しないというのも注意です。Framework を無理に入れて検証しても Framework が依存しているファイル群で欠けているものがある可能性もあり、徒労に終わるのでそこで絶対時間を使わないでください。

    //セットアップ方法の種類

    きれいに整理されている単体記事が無いのでここではその役を果たそうと思います。

    http://www.iis.net/default.aspx?tabid=7&subtabid=74 にある記事の要約だと思ってください。

    1. GUI でのセットアップ方法

    一台を作る時はこちらが一般的でしょう。また一番簡単な方法でもあります。

    1-1. Windows Vista でのインストール

    XPまでの流れをそのまま汲んでいてコントロールパネル - プログラムと機能 - Windows 機能の有効化または無効化 です。これについてはあらためて説明は不要でしょう。ただ、WAS(プロセス起動サービス)にIISは依存しているのでそれも一緒に必要ということは書いておきます。

    1-2. Windows Server 2008 でのインストール

    Vista と同じようにやろうとするとServer Managerに飛ばされるだけですので、最初からServer Managerの「役割」からインストールするようにしましょう。スタート メニューの一番上にあります。1-1 で書いているWASはWindows Serverでは機能という取扱いになっているので「役割」ではなく「機能」の方に表示されます。

    2. コマンドラインでのインストール

    複数台のインストール、あるいは慣れてくるとこっちの方が便利で、かなりこちらを使う人が周りでは多いです。

    2009年3月13日 Update:
    http://learn.iis.net/page.aspx/85/installing-iis-70/

    2009年3月13日 Update:特にこの記事
    http://learn.iis.net/page.aspx/132/install-iis-7-from-the-command-line/

    2-1. Pkgmgr.exe

    このコマンドはいわばWindows機能の有効化または無効化をコマンドにしたものであると思えばわかりやすいです。どのOSでもServer Core形態でも利用可能なので一番汎用的です。

    - 既定のインストール

    start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

    - フルインストール

    start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

    - Home Premium のみ

    start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

    Server Coreについてはこちらからの抜粋です。

    http://blogs.iis.net/metegokt/archive/2007/06/26/administering-iis7-on-server-core-installations-of-windows-server-2008.aspx

    - Server Coreで既定

    start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel

    - Server Core でフル

    start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-FTPPublishingService;IIS-FTPServer;WAS-WindowsActivationService;WAS-ProcessModel

    - Server Coreで従来のASPが動作する環境

    Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASP;IIS-ISAPIExtensions;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;WAS-WindowsActivationService;WAS-ProcessModel

    - Server Coreで静的なコンテンツとFastCGIが動作する環境

    Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-CGI;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;WAS-WindowsActivationService;WAS-ProcessModel

    Pkgmgrについては /iu の代わりに /uuを使うとアンインストールになります。/nを使ったファイルでのモジュール指定はこの記事を参照ください。事前にXML形式のファイルをメモ帳なりで用意しておくことになります。

    http://www.iis.net/articles/view.aspx/IIS7/Deploy-an-IIS7-Server/Installing-IIS7/Using-Unattend-Setup-to-Install-IIS7

    2-3. ServerManagerCmd.exe

    Windows Serverであればこちらが推奨です。-WhatIf や-Queryでの確認など機能が豊富です。こちらはServer Managerをコマンドにしたものであると思うといいでしょう。Server Core、Vistaでは使えません。

    http://blogs.iis.net/metegokt/archive/2007/04/13/installing-iis-7-0-using-servermanagercmd-exe.aspx

    -WhatIf : Windows PowerShellから登場しているパラメーターで要するに「もしも?」です。このコマンドを実行すると何が起こるのか、この場合では何がインストール/アンインストールされるかを事前に知ることができます。多くのモジュールのインストールが行われる場合には時間がかかりますからそういうことも事前に知ることができます。

    メモ帳等でXMLファイルを作っておく方法を推奨します。 -install Web-Server -a とかもできるんですが。

    - 既定インストール: Default.xmlとして保存

    = ここから =

    <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">
            <Role Id="Web-Server" /> 
    </ServerManagerConfiguration>

    = ここまで =

    コマンド: ServerManagerCmd.exe -inputPath Default.xml

    - 既定インストール+FastCGI: Default_CGI.xmlとして保存

    = ここから =

    <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">
          <Role Id="Web-Server" />
          <RoleService Id="Web-CGI" />
    </ServerManagerConfiguration>

    = ここまで =

    コマンド: ServerManagerCmd.exe -inputPath Default_CGI.xml

    - 既定インストール+従来のASP: Default_ASP.xmlとして保存

    = ここから =

    <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">

        <Role Id="Web-Server" />
        <RoleService Id="Web-ASP" />
        <RoleService Id="Web-Filtering" />
        <RoleService Id="Web-ISAPI-Ext" />
    </ServerManagerConfiguration>

    = ここまで =

    コマンド: ServerManagerCmd.exe -inputPath Default_ASP.xml

    - 既定インストール+ASP.NET: Default_ASPNET.xmlとして保存

    = ここから =

    <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">

        <Role Id="Web-Server" />
        <RoleService Id="Web-ASP-Net" />
        <RoleService Id="Web-Net-Ext" />
        <RoleService Id="Web-Filtering" />
        <RoleService Id="Web-ISAPI-Filter" />
        <RoleService Id="Web-ISAPI-Ext" />
    </ServerManagerConfiguration>

    = ここまで =

    コマンド: ServerManagerCmd.exe -inputPath Default_ASPNET.xml

    - フルインストール: Default_FULL.xmlとして保存

    = ここから =

    <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">

        <Role Id="Web-Server" InstallAllSubFeatures="true" />
    </ServerManagerConfiguration>
    = ここまで =

    コマンド: ServerManagerCmd.exe -inputPath Default_FULL.xml

    2-4. DISM.exe

    Windows 7 と R2 で使えるこのコマンドは強力です。
    意味はぜひ 下記の投稿 を読んでいただければと思い��す。
    【Win2008R2】 DISM ってなんだろう?
    【IIS7】 FTDセミナー振り返りシリーズ Vol.2

    DISM /online /enable-feature /feature-name:IIS-WebServerRole

    という感じで使いますが、/Get-Features と一緒に使います。

    2-5. Windows PowerShell の ServerManager スナップイン

    PowerShell で統一したい方にはこちらがオススメ。Server Coreでも使える優れものです。

    Import-Module servermanager
    $module = Get-Module servermanager
    $module.ExportedCmdlets

    Add-WindowsFeature

    3. インストールされているかの確認方法

    3-1. Windows Vista

    コントロールパネル - プログラムと機能 - Windows 機能の有効化または無効化 でXPのように確認します。

    3-2. Windows Server 2008

    Server Managerの「役割」で確認します。あるいはServerManagerCmd.exe -queryで確認します。-queryの後にファイル名を書くと出力内容を表示するとともにXMLでそのファイルにも出力します。

    3-3. Windows Server 2008 Server Core

    oclist.exe で確認します。

    3-4. Win7 と R2 のみ

    DISM.exe /online /Get-Features

    ということで。遭遇した問題などありましたら是非コメントくださいませ。

    3/13 に Windows 7 や R2に関する情報をUpdateしました。

  • 【IIS7】 ブログにも貼っておきますね

    TechNet フォーラムに書いたものをここにも投稿として置いておくことにします。

    現時点では下記のHOW TOをもう書きました。これから頑張って順次やっていきます。

    [HOW TO] IIS7.0 のインストール方法
    [HOW TO] IIS7.0 の提供形態
    [HOW TO] IIS7.0でFastCGI+PHP5環境を作ってみる

    = English =

    [IIS7] I'll paste the HOW TOs here too

    I've written HOW TOs at TechNet Forums but I'll write them here too for convenience. There's three of them now all in Japanese - how to install IIS7, how to get IIS7, how to build a FastCGI+PHP environment.

  • 【TechNet】 久し振りのイメチェン、エバンジェリストの広場

    いやあ実に久し振りに エバンジェリストの広場 に手を入れました。2008年に向けてエバンジェリストの各種活動も急ピッチで準備や実施が進められていますが、ここの内容も順次 Update されていくことになりそうです。今後の更新をご期待ください。道場のページも間もなく変わるのかな、ぼそっ。(●^o^●)

    = English =

    [Other] It's been a while since the last page design update, Evangelist's Plaza

    Well it's been a while since we updated the design of the Evangelist's page and here goes the 2008 version. We are now preparing and starting to deliver many programs for 2008 season. Please stay tuned for the updates on this page. Maybe IT Pro Dojo's page will change in a few days, maybe :-)

  • 【IIS7】 HOW TO記事をフォーラムに書きます

    そろそろIIS7に興味を持っていただいているお客様も多くなってきており、すぐに取りかかるにはちょっと壁が高いという方のために何をすべきか考えましたが、HOW TO記事を書こうかなと思いました。ここで展開してもよかったのですが、折角TechNetフォーラムもありますのでそちらで少しずつでも書いていこうと思っています。そういう意味ではバーチャル・ラボにもご期待いただければと思います。

    一つめはもちろん インストール方法 です。

    [HOW TO] IIS7.0 のインストール方法
    http://forums.microsoft.com/TechNet-JA/ShowPost.aspx?PostID=2070128&SiteID=36

    どんな HOW TO でもいいので皆さんも経験をシェアいただけるとうれしいです。米国のIIS.NETのフォーラムではその傾向が見られ、実戦的なHOW TOが多くなっています。

    [IIS7] I'll write HOW TO articles at TechNet Forum

    There are many customers who are interested in IIS7 now and I was thinking what I should do for people who want to but there's a big wall ahead. So one of the activities I've decided to do is to write HOW TO articles. I could've done it here on this blog but there's a new TechNet Forum for IIS so I'll try to do it there. There's also IIS7 virtual labs waiting to go public so please look forward for that too.

    The first HOW TO is of course how to install :-) 

    [HOW TO] Installation of IIS7.0 (In Japanese)
    http://forums.microsoft.com/TechNet-JA/ShowPost.aspx?PostID=2070128&SiteID=36

    Whatever HOW TO is welcome in this forum and please share your experience if you could. The IIS.NET forum in the U.S. has many posts that are really practical and useful for many users.