Changes between Version 45 and Version 46 of ConfigureGuide22Windows


Ignore:
Timestamp:
Sep 8, 2010, 2:47:53 PM (14 years ago)
Author:
hluo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigureGuide22Windows

    v45 v46  
    1111==== Install IIS 7.x to Windows 7 or Windows 2008 Server ====
    1212
    13 By default, IIS 7 is not turned on under either Windows 7 or Windows 2008 Server.
     13By default, IIS 7 is not enabled under either Windows 7 or Windows 2008 Server.
    1414
    15 How IIS feature is turned on under Windows XP/7 or Windows Server is different.
     15How IIS feature is enabled under Windows XP/7 or Windows Server is different.
    1616
    17 To turn on this feature under windows 7, go to Control Panel->Programs->Turn Windows Features On or Off, in the poped up Windows Features, expand Internet Information Services, check WWW Services, click OK to install the selected features.
     17To eanble this feature under windows 7, go to Control Panel->Programs->Turn Windows Features On or Off, in the poped up Windows Features, expand Internet Information Services, check WWW Services, click OK to install the selected features.
    1818
    1919Under 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.
     
    2222
    2323To configure IIS with PHP, IIS needs to know where "php.ini" is. IIS gets to know the location of this file through a registry entry, which is  HKEY_LOCAL_MACHINE->SOFTWARE->PHP->!IniFilePath with string value '''c:\php\''', suppose PHP is installed under c:\php. If PHP is installed with Windows installer, the registry entry is created automatically, otherwise, this key needs to created manually.
     24
     25If you have multiple PHP installed, it might be tricky to tell IIS which PHP to use, which is beyond the scope of this document. Please refer to [http://www.php.net/manual/en/configuration.file.php this site] for information about '''IniFilePath'''.
    2426
    2527==== Open IIS Manager by going to Control Panel->Administrative Tools->IIS Manager ====
     
    3436Start Application Pool Immediately: true
    3537}}}
    36  2. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory, Applications. The configuration of lower level can inherate from its parent level. 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 minimum configurations are Handler Mapping, ISAPI and CGI Restrictions
     38 2. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory, Applications. The configuration of lower level can inherit from its parent level. As a demonstration, we only configure Server level in our mapguide example. In the left panel, select what every your machine name is, there should be a list of configuration categories in the right panel. The minimum configurations are Handler Mapping, ISAPI and CGI Restrictions
     39
     40Bear in mind that if you configure IIS on Server level, all your applications deployed to IIS will have the same configuration, which might not be what you want. So please carefully design your IIS configuration such as which configuration should be on Server level, which on Virtual Directory level. General rule is to put the shared common configuration to Server level, while finely tune each application by configuring the virtual directory level.
    3741
    3842 3. Handler Mapping->Add Module Mappings, add the following module mappings