Applicable in NameTrans-class directives.
The home-page function specifies the home page for your server. This page is displayed whenever a client requests the server’s home page (/).
The following table describes parameters for the home-page function.
Table 5–43 home-page parameters
Parameter |
Description |
---|---|
Path and name of the home page file. A path that starts with a slash (/) and is assumed to be a full path to a file. This function sets the server’s path variable and returns REQ_PROCEED. Relative paths are appended to the URI and the function returns REQ_NOACTION and then continues on to the other NameTrans directives. |
|
bucket |
(Optional) Common to all obj.conf functions. |
NameTrans fn="home-page" path="/path/to/file.html" NameTrans fn="home-page" path="/path/to/$id/file.html" |