Changes between Version 37 and Version 38 of ConfigureGuide22Windows


Ignore:
Timestamp:
Sep 1, 2010, 3:56:03 PM (14 years ago)
Author:
hluo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigureGuide22Windows

    v37 v38  
    8888=== IIS 7.x ===
    8989
    90  1. Install IIS 7.x to Windows 7 or Windows 2008 Server
     90==== Install IIS 7.x to Windows 7 or Windows 2008 Server ====
    9191
    9292By default, IIS 7 is not turned on under either Windows 7 or Windows 2008 Server.
     
    9696Under Windows 2008 Server, go to Control Panel->Administrative Tools->Server Manager, in the left panel, select Role, in the right panel, click Add Roles->Server Roles->Web Server(IIS), click OK to add the selected Role, then in the left panel, select Feature, in the right panel, click Add Features, a window with available windows features should open. Find Web Server (IIS) Tools and check it, click OK to install this feature.
    9797
    98  2. Create registry key '''!IniFilePath'''.
     98==== Create registry key '''!IniFilePath'''. ====
    9999
    100100suppose PHP is installed under c:\php and with all mapguide related extensions copied to folder '''ext''' like what you've done with runing Apache as Web Server. If you've already configured Apache to run mapguide successfully, nothing needs to be done with your PHP installation.
     
    102102Suppose you know how to create windows registry key manually, create a registry key to HKEY_LOCAL_MACHINE->SOFTWARE->PHP->!IniFilePath with string value '''c:\php\''', this registry entry is to tell IIS where to find '''php.ini'''.
    103103
    104  3. Configure IIS 7. Open IIS Manager by going to Control Panel->Administrative Tools->IIS Manager.
     104==== Configure IIS 7. Open IIS Manager by going to Control Panel->Administrative Tools->IIS Manager ====
    105105
    106  a. Create Application Pool. Suppose you know how to open the GUI to add application pool, here we only list the values of the fields in GUI
     106'''Suppose you know how to open the GUI for the following actions, here we only list the values of the fields in GUI'''
     107
     108 1. Create Application Pool.
    107109{{{
    108110Name: MapGuideAppPool 
     
    111113Start Application Pool Immediately: true
    112114}}}
    113  b. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory. The configuration of lower level can inherate from its parent layer. For this reason, we only configure Server level. In the left panel, select what every your machine name is, there should be a list of configuration categories in the right panel. The important categories are Handler Mapping, ISAPI and CGI Restrictions
     115 2. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory. The configuration of lower level can inherate from its parent layer. For this reason, we only configure Server level. In the left panel, select what every your machine name is, there should be a list of configuration categories in the right panel. The important categories are Handler Mapping, ISAPI and CGI Restrictions
    114116
    115  c. Handler Mapping->Add Module Mappings, add the following module mappings
    116    1. FastCGIModule
     117 3. Handler Mapping->Add Module Mappings, add the following module mappings
     118   * FastCGIModule
    117119{{{
    118120requiest path: *.php
     
    121123Name: PHP <version>
    122124}}}
    123    2. ISAPIModule
     125   * ISAPIModule
    124126{{{
    125127request path: *.php
     
    128130name: PHP ISAPI Handler
    129131}}}
    130 
    131  d. ISAPI and CGI Restrictions. Add the following restrictions:
    132    1. Map Agent ISAPI Handler
     132 4. ISAPI and CGI Restrictions. Add the following restrictions:
     133   * Map Agent ISAPI Handler
    133134{{{
    134135ISAPI or CGI Path: c:\mapguide-2.2-beta1\Web\www\mapagent\isapi_MapAgent.dll
     
    136137Allow Extension Path To Execute: True
    137138}}}
    138    2. PHP ISAPI Handler
     139   * PHP ISAPI Handler
    139140{{{
    140141ISAPI or CGI Path: c:\php\php5isapi.dll
     
    143144}}}
    144145
    145  e. Add Applications to Default Web Site. Right-click Default Web Site->Add Application
     146 5. Add Applications to Default Web Site. Right-click Default Web Site->Add Application
    146147{{{
    147148Alias: mapguide
     
    156157In theory, a web application should be able to be deployed to any web server with some instrumentation. We never tried to deploy !MapGuide Web App to JBoss, so this might be a future work if there is request for it.
    157158
    158 === IIS ===