The deny-existence function sends a 404 Not Found message when a client tries to access a specified path.
The following table describes parameters for the deny-existence function.
Table 7–18 deny-existence Parameters
Parameter |
Description |
---|---|
(Optional) Wildcard pattern of the file system path to hide. If the path does not match, the function does nothing and returns REQ_NOACTION. If the path is not provided, it is assumed to match. |
|
(Optional) Specifies a file to send rather than responding with the 404 Not Found message. The value is a full file system path. |
|
bucket |
(Optional) Common to all obj.conf functions. Adds a bucket to monitor performance. For more information, see The bucket Parameter. |
PathCheck fn="deny-existence" path="/usr/sun/server7/docs/private" PathCheck fn="deny-existence" bong-file="/svr/msg/go-away.html"