Table of Contents
The type of context created determines it's usage.:
Static context can be used to map a URI to a directory either outside document root or within it.
Java Web App context is used to automatically import a predefined Java Application in an AJPv13 compilant Java servlet engine.
Servlet context is used to import a specific servlet under a web application.
Fast CGI context is a mount point of Fast CGI application.
LiteSpeed SAPI context can be used to associate a URI with an LSAPI application.
Proxy context enables this virtual host to serve as a transparant reverse proxy server to an external web server or application server.
CGI context can be used to specify a directory only contains CGI scripts.
Load Balancer context can be used to assign a different cluster for that context.
Redirect context can set up an internal or external redirect URI.
Rack/Rails context is specifically used for Rack/Rails applications.