NAME | DESCRIPTION | ATTRIBUTES | FILES | SEE ALSO | NOTES
The command-line utilities are available to administer Sun WebServer.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Availability | SUNWhtman |
Interface Stability | Evolving |
The following files are used by the command-line utilities:
A web site's Access Control Lists (ACLs) configuration file.
The server administration ACLs configuration file.
A web site's ACLs configuration file.
Defines the realms used to define users and groups for server administration.
Defines the content variants, encoding types, and directory preferences for a web site.
Tracks all Sun WebServer instances. When htserver creates a new server instance, an entry is added to this file.
Contains the web site servlet engine configuration if the servlet engine is not shared.
The server instance configuration file. When hthost adds a new site, it creates an entry in httpd.conf to define the site_path and web site configuration file.
The web site configuration file.
Contains the server instance servlet engine configuration if all web sites share the servlet engine.
Creates an alias to a path on the file system or a redirection to a remote URL from a Uniform Resource Identifier (URI) on the host.
Defines realms of user and group information used by access control lists on a Sun WebServer web site.
Defines each servlet that can be loaded by a web site.
access.conf(4), content.conf(4), httpd.conf(4), httpd.cgi.logs(4), httpd.event.logs(4), httpd-instances.conf(4), httpd.request.logs(4), httpd.servlet.logs(4), httpd.site.conf(4), map.conf(4), realms.conf(4), servlets.properties(4)
Adds or deletes ACLs for resources on a web site. An ACL applies to any token that can be a URI on that site, whether that URI is a directory, file, servlet, CGI, or alias to another resource.
Create or deletes information about the content of resources on a web site. For directories, you can set whether they are avaliable to browse and specify the format for directory listings. For files, you can set preferences for HTTP 1.1 content negotiation. Preferences include character set, language, compression encoding, and media type.
Associates a web site (or virtual host) with system resources, such as the server instance that hosts the site, a configuration directory, a configuration file, and a host name. Activates or shuts down web sites on a running server instance.
Adds and deletes aliases from one URI to another resource on a web site. Redirects a token to nonfile resources such as servlets, CGI scripts, or Sun WebServer Administration Console.
Changes passwords for users in HTPASSWD
realms. It is provided as a tool that can be incorporated in CGI or other scripts to automate password maintenance. User must be created using htrealm. Once a user is created, any system user can run htpasswd to update passwords (as long as the realm administrator name and password are specified).
Creates, deletes, and lists realm definitions for use with ACLs. It can also be used to manage users and groups in HTPASSWD
realms.
Creates and maintains Sun WebServer server instances. Each server instance is a process associated with a configuration file, and each one hosts one or more web sites. htserver can start, stop, and restart server instances. It can also enable or disable server instances.
Configures the behavior of a servlet engine. Defines and modifies servlet engine runtime, security, and logging properties; adds or removes entries in the servlets.properties file, and loads, reloads, or unloads servlets in running servlet engines.
Server instances can be started or stopped by using the htserver utility, through the Sun WebServer Administration Console, or executing this script. It is recommended that you use htserver or the Sun WebServer Administration Console.
If the command is run by root
user, then the user name and password of an administrator are not required.
Users other than root
must use the -z option and pass the user name and password of a valid administrator to the command.
NAME | DESCRIPTION | ATTRIBUTES | FILES | SEE ALSO | NOTES