Skip to main content
Version: 3.14.x.x LTS

ApacheServlet

Deprecated

The ApacheServlet is deprecated. For new setups, use the ApacheConfigFilter. In existing setups, switch to the ApacheConfigFilter if possible. For more information about the ApacheConfigFilter, see ApacheConfigFilter.

If the ApacheServlet is invoked (after all matching filters), the following is done:

  • handling changed URIs (by any RewriteFilter)
  • handling additional/changed HTTP headers of the request
  • feeding back of any consumed parts of the request body to the Apache web server
  • signaling the Apache web server to continue processing the request.

Classname

ch::nevis::navajo::apglue::httpd_${HTTPD_LIB_VERSION}_x::servlet::ApacheServlet

Library

libApache${HTTPD_LIB_VERSION}_Servlet.so..1

Configuration

NameType, Usage Constraints, DefaultsDescription
ServerConfigstring optionalThe configured value is set in the server section of the generated Apache configuration.
HostConfigstring optionalThe configured value is set in the host section of the generated Apache configuration.
LocationConfigstring optionalThe configured value is set in the location configurations of the generated Apache configuration. The URI of the location configurations is determined by the configured servlet mapping of the ApacheServlet.

As an example:

<servlet>
<servlet-name>ApacheServlet</servlet-name>
<servlet-class>
ch:nevis::navajo::apglue::httpd_${HTTPD_LIB_VERSION}_x::servlet::ApacheServlet
</servlet-class>

<init-param>
<param-name>ServerConfig</param-name>
<param-value>
LoadModule weblogic_module /wls/lib/mod_wl_20.so
</param-value>
</init-param>
<init-param>
<param-name>LocationConfig</param-name>
<param-value>
WebLogicHost ghia.adnovum.ch
WebLogicPort 7001
SetHandler weblogic-handler
</param-value>
</init-param>
</servlet>