Configuring an HTTP connection handler for web applications
About this task
To host web applications on the server, use HTTP connection handlers.
Steps
-
To create the web application servlet extension, use the
create-web-application-extensionoption withdsconfig.Example:
$ bin/dsconfig create-web-application-extension \ --extension-name "Hello Web Application" \ --set "base-context-path:/hello-app" \ --set "document-root-directory:/opt/hello-web-app" -
To monitor the connection handler, use the
ldapsearchtool.By default, the HTTP connection handler has an advanced monitor entry property,
keep-stats, that is set toTRUE.Example:
$ bin/ldapsearch --baseDN "cn=monitor" \ "(objectClass=ds-http-connection-handler-statistics-monitor-entry)"