Borland Web Server overview

The Borland Web Server executable file (.EXE) is a fully functional web server with these features: The Borland Web Server acts as an intermediary between web browsers and URLs, either Intranet or Internet, to transfer requests and responses between them.

For information on starting up and using the Borland Web Server, see Using the Borland Web Server.


Using the Borland Web Server

When you choose to install the Borland Web Server as part of an application installation, the installation program copies the web server application and documentation files into the same directory. The default is C:\Program Files\Borland\Server.

These topics contain information on setting up and using the Borland Web Server:

Starting and stopping the Borland Web Server
Setting the working directory and basepath
The Borland Web Server window
Customizing the Borland Web Server
The Borland Web Server access log
Saving memory


Starting and stopping the Borland Web Server

To start the Borland Web Server, double-click its icon in its program group or Windows Explorer. When started, it appears as an icon or minimized window button at the bottom of the Windows Desktop:

When started and active, the Borland Web Server is ready to handle client browser requests. If you're using a compatible application such as IntraBuilder or Paradox, the web server finds application data by checking the Windows registry. If you want to access data that is not automatically entered in the registry, you need to enter a working directory or base path, so the web server will know where to look for requested information. See Setting the working directory and basepath for details.

Deactivating the web server

To deactivate, or suspend, the Borland Web Server, right-click its icon or minimized window button at the bottom of the Windows Desktop and choose Shutdown.

Reactivating the web server

To reactivate the Borland Web Server, right-click its icon or button on the Windows Desktop and choose Startup.

Terminating the web server

To terminate the Borland Web Server and remove its icon or button from the bottom of the Windows Desktop, right-click the icon or button and choose Exit.

Restarting the web server

Once you exit and close the Borland Web Server, you can open it again by clicking its icon in the Windows Explorer or the Borland Web Server program group.

Viewing the web server connection list

By default, the web server is minimized so you can't see its connection history list. For information on viewing the Borland Web Server connection list, see The Borland Web Server window.

Setting the working directory and base path

Any requests for IntraBuilder files (with extensions .isv, .jfm, .jrp, or .js) are received by the Borland Web Server, then handled by IntraBuilder.

IntraBuilder looks for these documents in its working directory, so be sure IntraBuilder points to the desired URL path containing these documents. Choose View|IntraBuilder Explorer or Properties|Desktop Properties in IntraBuilder to enter the path in the appropriate text box.

Requests for Paradox HTML documents are also handled automatically by the Web Server.

Requests for documents with other extensions are handled only by the Borland Web Server. Be sure the Borland Web Server points to the appropriate web site base path for those documents. If you have not already set the base path in a popup dialog box, set it on the web server Pages property page.


The Borland Web Server window

Opening the Borland Web Server window

When you run the Borland Web Server, you have a fully functional web server that can pass information between a client web browser and IntraBuilder. To open the Borland Web Server window and display a list of active and completed connections: The Borland Web Server window appears.

Window features

The Borland Web Server window contains a menu bar, a toolbar, a connection list, and a status bar.

The window looks like this before any connections have occurred:


The Borland Web Server menu bar

The Borland Web Server menu bar offers three main commands: File, View, and Help.

File|Properties
Displays the Borland Web Server property sheet for customizing features and performance. For more information, see Customizing the Borland Web Server.

File|Shutdown/Startup
Deactivates and reactivates the Borland Web Server. This command is a toggle; it changes according to the state of the server.

File|Exit
Terminates and closes the Borland Web Server.

View|Toolbar
When checked, displays the toolbar beneath the menu bar at the top of the Borland Web Server. This command is a toggle.

View|Status Bar
When checked, displays the status bar at the bottom of the Borland Web Server window. This command is a toggle.

View|Clear View Window
Clears all entries from the connection list; useful when debugging.

Help|Help Topics
Displays the online Help file for the Borland Web Server, the WinHelp version of this HTML file.

Help|About Web Server
Displays copyright and other information about the Borland Web Server.

The Borland Web Server toolbar

The Borland Web Server toolbar contains these buttons, which are all shortcuts for menu commands:
Shutdown/Startup -- a toggle that deactivates and reactivates the Borland Web Server.
Clear -- clears the web server connection history list.
Properties -- displays the Borland Web Server property sheet for customizing features and performance. For more information, see Customizing the Borland Web Server
Help -- displays the online Help file for the Borland Web Server, the WinHelp equivalent of this file.

The Borland Web Server connection list

When a web browser contacts the Borland Personal Web Server with an HTTP request, the server displays the following information:
Time
Contact time, in local time

Client Name
The client Host Name (machine name) if Enable Client Name Lookup is checked on the web server Status property page; otherwise, the client's IP Address.

User Name
The user ID, entered in response to a browser prompt

Method
HTTP method used in the request: GET, POST, or HEAD

URI
The named resource (such as an HTML file) the browser is requesting; this can include the path with respect to the Base Path set on the web server Pages property page

Status
The HTTP connection code for the current status of the contact

Error Message
An error message
Dead connections only show if Show Completed Connections is checked on the web server Status property page.

The Borland Web Server status bar

To display status messages on the status bar at the bottom of the Borland Web Server, check Enable Server Status Bar on the web server Status property page.

When this setting is checked, the first number at the right end of the server status bar shows the number of current connections, the next number shows the total number of connections, and the third number shows the number of failed connections.


Customizing the Borland Web Server

To set the Borland Web Server's properties: For details, see About Borland Web Server properties.

One important property to set is Base Path, on the Pages property page. This property sets the root directory where target web pages are stored (NOT the computer's root directory).


Saving memory

It is convenient to have a lot of threads waiting for client connections, but this can use a lot of memory. To reduce the number of waiting threads, you can enter a lower value for Min Ready Connections on the web server Server property page.

The Borland Web Server access log

The access log contains a record of all completed requests to the Borland Web Server, regardless of returned HTTP status. Requests that were interrupted by the browser or by network errors are not logged in the access log.

Activating the log

To start logging server access records, check Enable Access Logging on the web server Logging property page and enter a log file name in the Access File Name text box.

(Note: You can log transactions as well as access records by setting the appropriate debug logging properties on the Logging property page.)

Format

The access log complies with the the NCSA/CERN Common Log Format (CLF). A sample entry is shown below (each entry is on a single line in the actual log file):

146.82.56.219 - - [23/Apr/1996:05:28:13 -0800] "GET /newinfo/32srvr/newpage.html HTTP/1.0" 200 29764

A dash or minus means null or not applicable.The fields are (in order):


About Borland Web Server properties

To set Borland Web Server properties: When the tabbed property sheet appears, click a page tab to set each kind of property: