HTTP Config

Clients can access EAServer and retrieve HTML pages using a Web browser. You can customize certain aspects of your server’s HTTP behavior by modifying the HTTP configuration properties listed in Table 3-3.

Table 3-3: HTTP properties

Property

Description

Default value

Comments/example

Domain Name

Domain name in .company.xxx format. Set this only if you are configuring the redirection URL for use with a Web proxy.

N/A

See “Configuring redirection addresses when using a proxy server”.

Proxy HTTP Port

When a Domain Name is specified, the HTTP port used in redirection URLs.

80

See “Configuring redirection addresses when using a proxy server”.

Proxy HTTPS Port

When a Domain Name is specified, the HTTPS port used in redirection URLs.

443

See “Configuring redirection addresses when using a proxy server”.

Proxy Protocol

When a Domain Name is specified, the protocol for redirection URLs.

The protocol of the original request

See “Configuring redirection addresses when using a proxy server”.

Document Root

The path to the directory where documents are served.

$JAGUAR/html (UNIX)

%JAGUAR%\html (Windows)

/work/WWW/

C:\work\WWW\

Default Web Application

The default Web application.

None

The Web application must be installed in the server. When specified, clients’ requests are redirected to the Web application context. For example, if the default Web application is MyWebApp, requests for http://myhost:8080 are redirected to http://myhost/MyWebApp, and the welcome file is used.

Maximum Threads

The maximum number of threads allocated for HTTP requests.

WARNING! If you increase this value, you must also increase the maximum number of threads on the Resources tab—see “Resources”.

25

The maximum thread setting allows you to balance memory resources. A maximum value set too high needlessly uses memory resources. Monitor the total number of hits listed in the httpstat.dat file for indications of a heavily loaded server. Adjust the maximum thread setting as necessary.

Send “Server” Header in HTTP Response

If selected, EAServer adds the “Server” response header field to each HTTP response.

Disabled

This optional HTTP response header field contains a description of the server software.

Keep Statistics

Select to log statistics.

Disabled

Statistics File Name

If you select to keep statistics, specify the log file name.

Jaguarhttpstat.dat

/work/logs/Jaguarhttpstat.dat (UNIX)

C:\work\logs\Jaguarhttpstat.dat (Windows)

Frequency (Seconds)

If you select to keep statistics, specify how often to log them.

36000 seconds (10 hours)

Log Type

You can select All Logs or one of these log types:

  • Request log

  • Error log

All Logs

If you select All Logs, the directory, file size, and truncate options apply to all the log files.

Enable Logging

Select to enable logging.

Enabled

Log Directory

The directory where the log files are stored.

See “HTTP logging and statistics” for information about the log files.

Log File Size

The size, in bytes, to which the log file grows before it is truncated.

Unlimited. If you do not enter a value, log size is unlimited.

Truncate Log on Startup

When this flag is set, the log truncates every time the server is restarted.

The default is to not truncate on start-up.

If the server crashes and this flag is set, you will lose the log file and the information it contains.

Extended Log File Format

If enabled, EAServer writes to the request log using the extended log file format (ELFF), instead of the common log format.

Disabled. By default, common log format is used for the request log.

ELFF Items

When ELFF is enabled, specifies what items to include in each record.

See comments.

For the syntax and default values, see com.sybase.jaguar.server.http.elffitems.