Servertec iws.ini
Documentation
Conventions
Command Line
Java API
Servlet API
Servlets
Config Files
acl.ini
aliases.ini
computers.ini
groups.ini
iws.ini
logger.ini
messages.ini
mimetypes.ini
resources.ini
rights.ini
servlets.ini
session.ini
users.ini

Classes
Directory Tree

Return

 

iws.ini, contains general parameters used by Servertec Internet Server.

Syntax

backlog = backlog
connections = connections
debug = debug_enabled
dns_lookup = dns_lookup_enabled
input_buffer_size = input_buffer_size
ip_address = ip_address
keep_alive = keep_alive_enabled
keep_alive_timeout = keep_alive_timeout
keep_alive_requests = keep_alive_requests
output_buffer_size = output_buffer_size
port = port
preload_servlets = servlets
root_dir = root_dir
security = security_enabled
shutdown_delay = shutdown_delay
timeout = timeout

backlog the maximum number of pending request to queue.

50 is the default for Servertec Internet Server.

The number specified must be greater than or equal to 0.

connections the default number of threads to startup.

25 is the default for Servertec Internet Server.

The number specified must be greater than or equal to 5.

debug_enabled whether to dump all requests made of the server and all responses sent by the server to the system's console.

n is the default for Servertec Internet Server.

Setting this value to y may have a negative impact on performance.

n is the default for Servertec Internet Server.

Setting this value to y may have a negative impact on performance.

dns_lookup_enabled whether to lookup the name of the remote client.

Use y to enable and n to disable.

If set to n then the IP address of the remote client will be used.

n is the default for Servertec Internet Server.

Setting this value to y may have a negative impact on performance.

input_buffer_size the size in bytes of the input buffer.

512 is the default for Servertec Internet Server.

Setting this value to too large or too small may have a negative impact on performance.

ip_address the IP address or the host name to listen to.

* indicates any ip address or host name.

* is the default for Servertec Internet Server.

keep_alive_enabled used to indicate whether the connection should be kept opened between requests.

Use y to enable and n to disable.

y is the default for Servertec Internet Server.

Setting this value to n may have a negative impact on performance.

keep_alive_requests the maximum number of consecutive requests that will be allowed before the connection is closed.

5 is the default for Servertec Internet Server.

-1 can be used to always keep the connection alive. Using this value is dangerous and opens the server to denial of service attacks.

The number must be at least 5.

Setting this value too large may result in denial of service.

keep_alive_timeout The maximum number of seconds to service a client requests before closing the connection.

30 seconds is the default for Servertec Internet Server.

-1 can be used to always keep the connection alive. Using this value is dangerous and opens the server to denial of service attacks.

The number must be 15 or more seconds.

Setting this value too large may result in denial of service.

output_buffer_size the size in bytes of the output buffer.

512 is the default for Servertec Internet Server.

Setting this value to too large or too small may have a negative impact on performance.

port the port number to use, a value from 1 to 65536.

8080 is the default for Servertec Internet Server.

80 is the default for Web Servers.

Only one application at a time can use any given port number.

root_dir the default document directory.

./wwwroot is the default for Servertec Internet Server.

security_enabled whether to check if a client can access resources being requested.

Use y to enable and n to disable.

y is the default for Servertec Internet Server.

Setting this value to y may have a negative impact on performance.

servlets any Servlets defined in servlets.ini to preload.

Zero or more comma delimited list of Servlet aliases.

Normally FileServlet is loaded.

shutdown_delay the number of seconds to wait for requests being processed to complete before shutting down the server.

60 seconds is the default for Servertec Internet Server.

-1 can be used to wait for all requests to finish processing. Using this value may result in the server hanging while trying to shutdown waiting for a request the will never complete.

timeout the number of milliseconds to wait for the client to respond before closing the connection.

300000 milliseconds, 5 minutes, is the default for Servertec Internet Server.

If -1 is used the connection will never to timeout. Using this value is dangerous and opens the server to denial of service attacks.

If the value is less 1000 then 1000 will be used.

Notes

Changes made to configuration files will not be used until the Servertec Internet Server is restarted.

Example

connections = 25
timeout = 300000
ip_address = *
port = 8080
keep_alive = y
keep_alive_timeout = 30
keep_alive_requests = 5
preload_servlets = FileServlet
security = y
shutdown_delay = 60
dns_lookup = n
backlog = 50
root_dir = ./wwwroot
input_buffer_size = 512
output_buffer_size = 512
debug = n
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:45 EDT 2005