Setting up the Web server – PB Docs 90

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 9,
the MIME type is:

The file extension associated with the MIME type is PSR.

Your server documentation may 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 31-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:

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x