417 users using DBSP now!
home -> documentation -> environment guide -> Manually configuring W32 OmniHTTPd 2.x


As you should already know, the web servers main function is to serve requests for web clients. This responses could be DBSP files, HTML files, Image files, sound files, etc. In order for any browser to display DBSP files correctly, the DBSP engine must convert DBSP files into plain HTML. For this reason, the DBSP engine must be installed and registered into the web server first. For the Omnicron HTTPd Web server, follow the steps described in the next procedure.

Note: You can download the Omni HTTPd web server directly from the Omnicron site: www.omnicron.ca.

Installation procedure

1. On the start menu, click on Programs and look for the omni group files folder. Inside this folder there should be an application named "OmniHTTPd administration". Execute this application.

 

2. Press the "Web server global settings" button. The next dialog should be shown.

3. Click on the External tab.

4. On the Virtual field box type: ".dbsp" (without quotes). On the Actual field box type the complete path and filename of the dbspw32.dll, for example "C:\DBSP\BIN\dbspw32.dll". When done, click the Add button.

5. Click on the MIME tab.

6. On the Virtual field box type: "wwwserver/isapi". On the Actual field box type ".dbsp". When done, click the Add button.

7. Finally click the dialog Accept or Ok button in order to apply the changes. This finishes the configuration process.

 

Testing that the DBSP engine is working

1. Using the file explorer, locate the Omni HTTPd installation directory (Normally c:\httpd) and open the folder named HTDocs.

2. With the notepad or DBSP builder, create a new file named dbsptest.dbsp.

3. Copy the following code into the file:

<HTML>
<BODY>
<H1>Welcome to DBSP</H1>
<HR>
Your DBSP version: <b><#DBSP_VERSION/></b></br>
Your OS version: <b><#OS_VERSION/></b></Br>

</BODY>
</HTML>

3. Save the file.

4. Open a new web browser window, and click on the following URL:

http://localhost/dbsptest.dbsp

Note: Note: This URL could change depending on the IP address or port configuration of your website.

5. You must see a page with the following text (or something similar):

Welcome to DBSP


Your DBSP version: 1.0.0.0
Your OS version: 5.0.2195.2

 

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.

Previous | Next