Servertec aliases.ini
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Server API
Servlet / JSP API
Xerces API
CGI
SSI
Servlets
Config Files
acl.ini
aliases.ini
archives.ini
computers.ini
contexts.ini
dbpools.ini
groups.ini
hosts.ini
iws.ini
locales.ini
logger.ini
messages.ini
mimetypes.ini
realms.ini
resources.ini
rights.ini
servlets.ini
session.ini
templates.ini
users.ini
workgroup.ini

Log Files
Classes
Directory Tree
Examples
Legal
Contact Us

 

aliases.ini, stores aliases used in translating the requested URI to a physical file, Servlet defined in servlets.ini or Servlet Context defined in contexts.ini.

Syntax

alias = type:resource

alias the URI, file extension, or MIME type that the request must match.

* is used specify the default Servlet Context.

type file, filter, mime, servlet or context.

If not specified, file is the default type.

File is used when translating a URI to a specific physical file.

A Filter is a Servlet that is used when a reference is made to a resource which ends with a specific file extension.

A MIME is a Servlet that is used when a reference is made to a resource that returns content of the specified MIME type. MIME definitions required that Servlet Chaining be enabled.

A Servlet is a Class that is invoked when a request matches a specific URI.

A Servlet Context is used to maintain shared values across multiple Servlets associated by a common base URI.

resource the path to an existing physical file, the name of a servlet defined in servlets.ini or the name of a context defined in contexts.ini.

For physical files, $basedir will be replaced by the server's base directory and $wwwroot will be replaced by the base directory of requested virtual host.

When specifying a path each \ must be entered twice.

Notes

Changes made to configuration files will not be used until the server is restarted.

Example

/ = servlet:FileServlet
.shtml = filter:SSIncludeServlet
/tests = file:d:\\tests
application/x-compress = mime:CompressServlet
* = context:Default
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:57:18 EDT 2005