|
|
|
|
|
General IIS FAQ - iHTML on Microsoft IIS servers |
|
How to register the iHTML engine
on a Microsoft IIS virtual server
This procedure registers
application mappings that enable iHTML processing of iHTML documents on your
IIS web server. The iHTML installation handles configuring the Default Web Site,
and subsequent virtual servers that are created will inherit the same iHTML
related settings, however existing virtual servers are not configured. To configure
existing virtual servers please follow the steps below.
Platforms: IIS4 (NT4 + Option Pack), IIS5 (Windows 2000), IIS 5.1 (Windows XP)
- Open the Internet Services
Manager, expand your computer name to obtain the list of virtual web servers.
Right-click on the applicable virtual server and select Properties.
- Select the Home Directory
tab. Ensure the Read checkbox is selected, and Execute Permissions
is set to "Scripts Only" (recommended) or alternatively "Scripts and Executables".
- On the same Home Directory
tab, click the Configuration button, and the Application Configuration dialogue
appears. On the App Mappings tab, click Add, select the path to the ihtml.dll
as your executable (eg. c:\ihtml\ihtml.dll - this varies depending on your installation
path), enter ".ihtml" as the extension, keep Verbs set to All Verbs,
keep the Script Engine checkbox selected, and click Ok.
- Repeat step 3 using ".inc" as an extension, and for any other
file extensions you wish to map to the iHTML engine. Click Ok twice more to
close the virtual server properties window.
- Restart IIS. Use the
Services manager (found within Computer Management on Win2k and above) to stop and start the World Wide Web Publishing Service. Alternately
use the following commands at a command prompt:
net stop w3svc
net start w3svc
How do I register the default
document used by iHTML applications (index.ihtml)?
- Open the Internet Services
Manager, expand your computer name to obtain the list of virtual web servers.
Right-click on the applicable virtual server and select Properties.
- Select the Documents tab. Ensure that Enable Default Document is checked.
Click Add, enter "index.ihtml" (without quotes), and click Ok.
- (Optional) On the same dialogue, select index.ihtml from the list, and click
the Up arrow button to place the document's priority above default.htm.
- Click Ok once more to close the virtual server properties window.
|
|