All resources All frames

# GeneralProp

This resource provides access to Jigsaw's general properties.

## Inherits

The GeneralProp class inerits from the following classes:

- Resource
- PropertySet

## Attributes description

The GeneralProp defines the following attributes:

- org.w3c.jigsaw.server
- org.w3c.jigsaw.checkSensitivity
- org.w3c.jigsaw.root
- org.w3c.jigsaw.host
- org.w3c.jigsaw.port
- org.w3c.jigsaw.root.name
- org.w3c.jigsaw.publicMethods
- org.w3c.jigsaw.trace
- org.w3c.jigsaw.docurl
- org.w3c.jigsaw.checkpointer

`org.w3c.jigsaw.server`

semantics
  The string that Jigsaw will emit as its identification through the Server header.
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to Jigsaw/major.minor, where major is the current major release number, and minor is the minor one.

`org.w3c.jigsaw.checkSensitivity`

semantics
  Should Jigsaw double check case sensitivity when accessing files. On non-broken systems, the underlying file system is case-sensitive and the whole world is very happy. However a few, old operating systems have not incorporated that feature yet. For those system, turning this falg to true will ensure that the URLs served by Jigsaw remains case-sensitive.
type
  This attribute is an editable BooleanAttribute
default value
  Because they are security implications related to not having this flag set when running on a case-insensitive file system, this attribute defaults to true. It is highly recommended that you turn it to false when possible.

`org.w3c.jigsaw.root`

semantics
  This property should provide the top directory of the server. This property, by itself, is only used to get defaults value for other
properties. A typical top directory for a server will contain the following sub directories:

- config which will contain the required configuration files and directories, among which:
  - server.props, the file containing the servers to launch list.
  - admin-server.props, the file containing the default setting for the admin sever.
  - http-server.props, the file containing the default setting for the http sever.
  - jigadm.zip the ServerBrowser configuration file.
  - indexers the indexers directory.
  - icons the icons for ServerBrowser.
  - auth the authentication directory containing the realms.
  - stores the directory where resources will be saved.
- configadm which will contains the required configuration directories for jigadmin:
  - auth the authentication directory containing the realms.
  - stores the directory where resources will be saved.
- logs which will contain the log files.
- WWW which will contain the actual entities to be exported, along with their description.
- bin will optionally contain some scripts to run the binaries associated with Jigsaw.

type
  This attribute is an editable FileAttribute
default value
  This property defaults to Jigsaw's current directory.

`org.w3c.jigsaw.host`

semantics
  This property should provide the full name (including the domain name) of the machine that hosts the server. Don't forget to provide the host's domain-name along with its name, otherwise, all urls dynamically generated by the server will fail when trigered from a machine outside the server's domain.
type
  This attribute is an editable StringAttribute
default value
  This property defaults to the machine on which the server runs.

`org.w3c.jigsaw.port`

semantics
  The port on which the server will listen for client connections. Unless you run the server as root, you won't be able to run the server on a port lesser than 1024. This will be fixed in future releases.
type
  This attribute is an editable IntegerAttribute
default value
  This attribute defaults to 8001.

`org.w3c.jigsaw.root.name`

semantics
  The name of the resource to be used as the server's root resource. This name should be a valid resource name within the scope of the space directory resource store (see above). This property is used, for example, to turn the server into a proxy (by giving the name of some ProxyDirectory resource, instead of the default name of the DirectoryResource for the space directory).
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to root.

`org.w3c.jigsaw.publicMethods`

semantics
  The set of public methods supported by that server. This set of methods is being exported through the HTTP Public header.
type
  This attribute is an editable StringArrayAttribute
default value
  This attribute defaults to {GET, HEAD, PUT, POST, LINK, UNLINK, OPTIONS, DELETE}.

`org.w3c.jigsaw.trace`

semantics
  Turn the server in trace mode. This flag wil lmake the server emit various traces into the logger trace file, along with some debugging information to the server's standard output stream. This flag has to be turned on for clients trace flag to be effective.
type
  This attribute is an editable BooleanAttribute
default value
  This attribute defaults to false.

`org.w3c.jigsaw.docurl`

semantics
  The URL path of the Jigsaw's documentation, as served by that server. This can be either a relative URL (it will be absolutized relative to the server's root URL), or an absolute URL.
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to null.

`org.w3c.jigsaw.checkpointer`

semantics
  The checkpointer URL, this is the resource to activate to starts CheckPoint. (see CheckPointResource)
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to null.

Jigsaw Team
$Id: org.w3c.jigsaw.http.GeneralProp.html,v 1.2 1998/03/27 08:19:45 bmahe Exp $