NAME

HTTP_FILTER_URL_MAP - ISAPI data for the URL-mapping notification.


SYNOPSIS

 #include "httpfilt.h"
 typedef struct _HTTP_FILTER_URL_MAP {
    const CHAR *    pszURL;
    CHAR *          pszPhysicalPath;
    DWORD           cbPathBuff;
 } HTTP_FILTER_URL_MAP, *PHTTP_FILTER_URL_MAP;


DESCRIPTION

HTTP_FILTER_URL_MAP describes a URL and a local file-system path, which is to be used to resolve the URL. When HttpFilterProc(3) is called to handle the SF_NOTIFY_URL_MAP event in the processing of a request, its third argument (pvNotificationType) is a pointer to an HTTP_FILTER_URL_MAP structure.

This notification may be invoked with an empty string as the URL (the pszURL field of the HTTP_FILTER_URL_MAP).


DATA FIELDS

The first field, pszURL, is a C string indicating the URL requested: this is for information only and should not be modified.

The second and third arguments describe a buffer in which the web server has stored a C string indicating the local file-system pathname to which the web server has translated the URL requested. The buffer is large enough to hold cbPathBuff bytes, the first of which is pointed to by pszPhysicalPath. The HttpFilterProc can modify the contents of the buffer to cause the web server to associate the URL with a different local filename. The SF_NOTIFY_URL_MAP is provided so as to enable a filter to enact its own policy for mapping URLs to local files.


SEE ALSO

isapi(7), GetFilterVersion(3), HttpFilterProc(3), HTTP_FILTER_CONTEXT(5).


FILES

$ZEUSHOME/web/include/httpfilt.h $ZEUSHOME/web/include/wintypes.h $ZEUSHOME/webadmin/docroot/docs/modules/isapi/*.html


COPYRIGHT

Copyright (C) 2000-2001 Zeus Technology Limited. All rights reserved.