![]() |
![]() |
|
| Home I Company I Services I Documentation I Downloads I E-Support |
| home -> documentation -> environment guide -> Manually configuring Microsoft® IIS 6.x | ||
As you should already know, the web servers main function is to serve requests to the web clients. This responses could be DBSP files, HTML files, Image files, sound files, etc. In order for any browser to display any DBSP files correctly, the DBSP engine must convert DBSP files into plain HTML. For this reason, the DBSP engine must be installed and registered on the web server first. For the Microsoft IIS 6.x Web server, follow the steps enumerated in the following procedure. Note: You can install the Microsoft® IIS 6.x by adding this Windows component. This can be done by accessing: Start-> Settings-> Control Panel-> Add/Remove programs -> Add/Remove Windows components -> Internet Information Services (IIS).
1. Click on the Start menu, click on Settings -> Control panel -> Administrative tools -> Internet Services Manager. Right click the Web Site you want to configure and select the properties option. Select the Home Directory tab. You should see a dialog like this:
2. Press the Configuration button. The Application Configuration dialog is displayed:
3.We need to add new file extension mapping. This mapping will indicate IIS that all the DBSP files will be sent first to the DBSP Engine library for their interpretation, and after this process it's finished, the resul will be sent to the user's browser. Press the Add button. The Add/Edit application extension mapping dialog appears. In the executable field, select the dbspw32.dll. This library is normally located in the bin subdirectory in the DBSP installation directory (for example C:\dbsp\bin). In the extension field, type .dbsp and be sure that the all verbs and Script engine options remains selected. At this time, the dialog should look like this:
7. Finally click the Ok button and then Apply to apply the changes. 8. Based on the experience acquired from past versions, Microsoft IIS is now configured in a secure way by default. So is now necesary to explicitly define which Web service extensions are able to run in the server.
1. Using the file explorer, locate the Microsoft IIS root directory of the recently configured site. You can see this information in the site properties, inside the Home Directory Tab, Local path field. 2. With the notepad or DBSP builder, create a new file named dbsptest.dbsp. 3. Copy the following code into the file:
3. Save the file. 4. Open a new web browser window an type the following URL or click it directly: http://localhost/dbsptest.dbsp Note: This URL could change depending on the IP address or port configuration of your website. 5. If the DBSP page is being interpreted correctly, you should see a page with the following text (or something similar):
From now on, the web server will send every DBSP page to the DBSP engine before being sent to the browser. The DBSP engine will produce the final ouput that will be sent to the browser. Notice that these configuration procedure needs to be done only once for the Omni HTTPd web server, regardless of how many sites exist on it. |