|
|
char *Ns_SkipUrl(
Ns_Request *request,
int nurl
);
The Ns_SkipUrl function returns the request URL after skipping past the first nurl elements.
/* PathInfo - Request to return URL after the first 2 parts. */
int
PathInfo(Ns_Conn *conn, void *ctx)
{
char *info;
/* Skip past the first two parts */
info = Ns_SkipUrl(conn->request, 2);
return Ns_ConnReturnNotice(conn, 200, info, NULL);
}