Configuring the URL Group

The URL group ID is created with the HttpCreateUrlGroup function and used in the call to HttpSetUrlGroupProperty. The pPropertyInformation parameter points to the configuration structure for the property type that is set. The PropertyInformationLength parameter specifies the size, in bytes, of the configuration structure. For example, when setting the HttpServerTimeoutsProperty the pPropertyInformation parameter must point to a buffer that cannot be smaller than the HTTP_TIMEOUT_LIMIT_INFO structure. The URL group configurations are queried by calling HttpQueryUrlGroupProperty.

After the URL Group is created, URLs are added to the group with HttpAddUrlToUrlGroup. The URL group must be associated with a version 2.0 request queue to receive requests. To associate the URL group with a request queue, the application calls HttpSetUrlGroupProperty and specifies HttpServerBindingProperty in the Property parameter. If this property is not set, matching requests for the URL group are not delivered to a request queue and the HTTP Server API generates a 503 response. The application can only add URLs that have been previously reserved with the service to a URL group when running with low privilege. For more information, see the Namespace Reservations, Registrations, and Routing topic.