Explanation:
Note that docBase any location: A relative or absolute directory, a "classpath://com.predic8.membrane.core.interceptor.administration.docBase" expression or a URL.
The interceptor chain will not continue beyond this interceptor, as it either successfully returns a HTTP response with the contents of a file, or a "404 Not Found." error.
Can be used in
Syntax
<webServer docBase="path" /><webServer docBase="path" />
Sample
<serviceProxy port="80">
<request>
<webServer />
</request>
</serviceProxy><serviceProxy port="80"> <request> <webServer /> </request> </serviceProxy>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| docBase | true | docBase | Sets path to the directory that contains the web content. | docBase |
| generateIndex | false | - | - | - |
| index | false | - | - | - |