Preparing the Server
Last Updated: 10/18/2005
|Sections above here:|
Home » Development » Page Mode » IntraWeb Pages
Sections below here:
One of the steps required when working with IWP's is to configure your web-server to identify these files as a "special" file that requires server-side processing.
Below are the instructions on how to accomplish this with both Omni HTTP and IIS.
Configuring Internet Information Server
Open up the Internet Information Services Manager and choose the website you want to deploy IWP's to. Right-click and choose Properties.
Click on the Home Directory tab and click on the Configuration button. If this is disabled, you need to first create an application area. Once the configuration dialog is open, choose the Mappings tab and click on the Add button. This will present the dialog to add the IWP application mapping.
In the Executable box, we need to enter the path to our project. In our case we can enter c:\inetpub\scripts\project1.dll. The next step is to define the extension we are going to use. By default you can use .iwp, however, this can be anything you want. Once completed, click OK on all boxes.
The next optional step is to add the index to the default document properties. This is so that if you place the file in a folder with the name index.iwp for example, IIS will identify this as a valid request and return the page to you IF the URL does NOT contain the name of the file (for example, http://www.mydomain.com).
Important: You will not be able to validate the entry unless the executable exists.
Configuring Omni HTTPD
Configuring OmniHTTPD is basically the same as IIS. The first step is to add the project application that will be handling IWP pages. Launch Omni and click on Properties. Next click on Web Server Global Settings.
Click on the External tab and enter the extension in the Virtual edit box. In the Actual box, enter the location of the project that is going to handle the IWP pages. Once complete, click on the Add button and next click on OK. The next step is to add the IWP entry to the MIME settings. To do so, click on the MIME tab and like before enter the settings as below:
Click Add and then OK. That is it. Omni is now configured to handle IWP pages. Remember that if you choose a different extension, you must enter a different value in the corresponding extension boxes.
(C) 2002-2009 - Atozed Software Ltd.