The request_translate_uri function performs virtual to physical mapping on a specified URI during a specified session. Use this function when you want to determine which file would be sent back if a given URI is accessed.
char *request_translate_uri(char *uri, Session *sn);
A path string if it performed the mapping, or NULL if it could not perform the mapping.
char *uri is the name of the URI.
Session *sn is the Session parameter that is passed into your SAF.
request_create, request_free, request_header