Java Server

Basic Configuration (Beta)


Contents / Settings / Buttons

The Basic Configuration page allows you to define and change basic settings for each of the three services running in the Java Server.

Settings

The Basic Configuration page has the following fields and settings.

Port
Defines the port that your HTTP, Proxy, or HTTPS service listens on to field requests. A port numbers can be any number between 1 and 65535. (For UNIX, port numbers less than 1024 are reserved for root.) The Java Server default ports are:

Note: If you change the port number, you must restart the service by clicking the Restart Service button to have your change take effect.

Restart Service Button
Temporarily stops and then restarts the service so your changes can be saved and activated. It is only necessary to restart the service if you change the port. Note: To start a service for the first time, use Enable Service/Yes and then Save.

Special Note: The Proxy Configuration screen does not have entries for the Access Control, Index.html File, and Document Root Directory categories shown below.

Access Control
Enables or disables the server's access control checking. Access control lets you restrict or allow user access to web pages or resources (for example, servlets). You use access control to specify certain privileges for specific users or groups within a security realm. You set access control using the
Access Control page.

Index.html File
The name of the default HTML file the Java Server loads when you enter the URL for your machine. In many cases this file is actually called index.html; however, you can enter the name of any file. This file becomes the default file the Java Server loads when you connect to any directory on your machine.

For example, if you define the Index.html file to be myfile.html, whenever you connect to any directory that has a myfile.html file (and no other file name is specified in the URL), that file will be the default file displayed by the Java Server.

To illustrate this, if your machine name is venus, and you define the Index.html File as space.html (and set the Document Root Directory to /home/galileo), then type the URL:

	http://venus:8080 
you will display the file /home/galileo/space.html.

If there is no Index.html file defined in this field, and you connect to a directory on your machine without giving some other file name in the URL, the files in the directory will be listed by the Java Server.

Document Root Directory
The name of the default directory on your machine where your HTML documents are placed. When you first install the Java Server, the default document directory is server_root/public_html.

You can change this directory to be any directory you choose, for example, a docs directory inside your own home directory.

For example, if you are the user galileo on the machine venus, you could set your Document Root Directory to /home/galileo/docs. Then, to access this directory you would simply type the URL:

	http://venus:8080

Special Note: The Proxy Configuration screen has the following two fields, which the other service configurations do not.

Server Name
The name of the server machine that will act as a proxy.

No Proxy Chaining for:
Use this field to list the machines inside a firewall that do not require proxy service. Separate multiple machine names with commas.

Buttons

To make changes to the Basic Configuration page and have those settings take affect, use the three buttons at the bottom of the screen. These are:
Top
java-server-feedback@java.sun.com