Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

vs_get_doc_root() Function

The vs_get_doc_root function finds the document root for a virtual server. The returned string is the full operating system path to the document root.

The caller should FREE the returned string when done with it.

Syntax

char* vs_get_doc_root(const VirtualServer* vs);

Return Values

A pointer to a string representing the full operating system path to the document root. The caller must FREE this string.

Parameters

const VirtualServer* vs represents the virtual server for which to find the document root.