SynopsisGet the name of the default web page when a URL requests a directory. Prototype#include "webs.h" char_t *websGetDefaultPage(); Parameters
DescriptionThe websGetDefaultPage procedure returns 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 initial URL nominated a directory. Return ValueNone Examplefname = websGetDefaultPage(); Stability ClassificationStable. See Also |