Sun Java System Web Server 6.1 SP7 NSAPI Programmer's Guide


The vs_translate_uri function translates a URI as though it were part of a request for a specific virtual server. The returned string is the full operating system path.

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


char* vs_translate_uri(const VirtualServer* vs, const char* uri);


A pointer to a string representing the full operating system path for the given URI. It is the caller's responsibility to FREE this string.


const VirtualServer* vs represents the virtual server for which to translate the URI.

const char* uri is the URI to translate to an operating system path.