![]() |
![]() |
|
| Home I Company I Services I Documentation I Downloads I E-Support |
| home -> documentation -> environment guide -> Manually configuring Visnetic WebSite 3.x | ||
As you should already know, the web servers main function is to serve requests for the 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 Visnetic Web server, follow the steps described in the next procedure.
1. On the start menu, click on Programs and look for the deerfield.com group files folder. Inside of this folder should an application named Visnetic WebSite. Look for an application named "Server Properties" and execute it. The application looks like this:
2. Select "Mapping" tab. The next window should be shown.
3. Go to the Mapping types radio group and select the Associations option. The window should look like this:
4. On the File extension field box type: ".dbsp" (without quotes). On the Associated EXE or DLL 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. On the Mapping Types radio group, click on the Content types option.
6. On the File Extension field box type ".dbsp". On the Media or Server-Side Content field box type: "wwwserver/isapi". When done, click the Add button. 7. Finally click the dialog Apply or Ok button in order to apply
the changes. This finishes the configuration process.
1. Using the file explorer, locate the Visnetic installation directory (Normally c:\ProgramFiles\Deerfield.com) and open the folder named VisNetic WebSite. 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, and click on the following URL: http://localhost/dbsptest.dbsp 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):
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 Visnetic web server, regardless of how many sites exist on it. |