|
|
Customize relative file mapping
void Ns_SetUrlToFileProc(
char *hserver,
Ns_UrlToFileProc *proc
);
By default, AOLserver calls the following routine to map a relative pathname from the URL to a file pathname:
void Ns_DefaultUrlToFile(
Ns_DString *dest,
char *hServer,
char *relpath
);
You can customize AOLserver to call your own routine that matches the above prototype by calling Ns_SetUrlToFileProc.