SynopsisDefine the default web page name when a URL nominates a directory. Prototype#include "webs.h" void websSetDefaultPage(char_t *page); Parameters
DescriptionThe websSetDefaultPage procedure defines the default page name to be returned when a URL is requested that specifies a directory rather than a web page. HTTP uses this convention frequently. For example, a request to http://www.goahead.com will be translated into a request to the web page default.htm in the top level web directory. The default URL handler will automatically redirect the user's browser toward the default page if the inital URL nominated a directory. Return ValueNone ExamplewebsSetDefaultPage("default.htm"); Stability ClassificationStable. See Also |