Setting up the Web server

Setting up the Web server involves:

  1. Specifying the MIME type

  2. Putting the files on the server

Specifying the MIME type

Using the appropriate software for your Web server, register the MIME type for the DataWindow plug-in. For PowerBuilder 10.5, the MIME type is:

application/datawindow10.5

The file extension associated with the MIME type is PSR.

Your server documentation might use the term content type instead of MIME type.

Putting the files on the server

You must copy the PSR and HTML files to appropriate directories on your server.

Table 32-4: PSR and HTML file locations on server

Files

Location

What you do

HTML page

The HTML documents directory or subdirectory

Copy the HTML page to the directory specified in any URLs that link to the page.

PSR file named in the SRC attribute of the Embed element

The HTML documents directory or some other directory as appropriate

Copy the PSR file to the directory you specified in the Embed element attribute.

About URLs The URLs you specify in your HTML page are logical paths as defined by the Web server. For example, the system path for your PSR might be:

C:\WEBSITE\HTDOCS\PB\DWB_ATT_CROSSOUT.PSR

If htdocs is defined as the server’s documents directory, the logical path for the URL would be relative to the documents directory:

pb/dwb_att_crossout.psr