Installation guide

5. SERVLETEXEC APPLICATION SERVER (WINDOWS)
ServletExec 4.1 Installation Guide 59
To update the ServletExecApplications directive in httpd.conf
Use the following form:
ServletExecApplications <instance-name> /URL-context1 /URL-context2
<Location /URL-context1>
SetHandler servlet-exec
</Location>
<Location /URL-context2>
SetHandler servlet-exec
</Location>
5.5.5.4 Prefix Aliases
For each prefix alias that is configured using the ServletExec Admin UI, the
ServletExecAliases directive must be updated, and a Location directive must be
added to httpd.conf in the following format:
ServletExecAliases <instance-name> /prefix-alias
<Location /prefix-alias>
SetHandler servlet-exec
</Location>
If you allowed the ServletExec/AS installer to automatically update httpd.conf,
ServletExec/AS is configured to handle the /servlet prefix alias by default.
5.5.5.5 Suffix Aliases
There are two methods for configuring suffix aliases with Apache. The most common
method is illustrated below. For each suffix alias that is configured using the ServletExec
Admin UI, the ServletExecAliases directive must be updated, and an AddHandler
directive must be added to httpd.conf with the following format:
ServletExecAliases <instance-name> <suffix-aliases>
AddHandler servlet-exec <suffix-alias>
You should use this method if the URL Rewriting option of the Session Tracking feature
is disabled, which it is by default. This method of configuring suffix aliases provides
better performance than the alternative method.
See the ServletExec User Guide for more information on Session Tracking and URL
Rewriting.
URL Rewriting Alternative
If you enabled the URL Rewriting option of the Session Tracking feature, you must use
an alternative method of configuring suffix aliases. For this method, you use a Location
directive instead of the AddHandler directive. For each suffix alias that is configured
using the ServletExec Admin UI, add a
Location directive to httpd.conf with the
following format:
<Location /*.suffix-alias*>
SetHandler servlet-exec
</Location>
In addition, for each subdirectory level beneath the web server document root directory,
you must add an additional Location directive to
httpd.conf. For example, assume the