ns_pagepath - Return path to current virtual server pages
This is virtual hosting aware command will return absolute path to the directory with pages for the current virtual server
Returns the absolute path to current virtual server page directory followed by the optional path segments. Similar to ns_serverpath.
The optional -host parameter can be used to return the path for a certain virtual host. If not specified the value for the host is taken from the host header field of the current request.
% ns_pagepath /usr/local/ns/pages % ns_pagepath foo bar /usr/local/ns/pages/foo/bar