websSetDefaultPage | GoAhead WebServer API | GoAhead EMF
## Synopsis Define the default web page name when a URL nominates a directory. ## Prototype
     #include "webs.h"

     void websSetDefaultPage(char_t *page);
## Parameters
page | Filename specifying the default page name.
## Description The 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 Value None ## Example
     websSetDefaultPage("default.htm");
## Stability Classification Stable. ## See Also websGetDefaultDir, websGetDefaultPage, websSetDefaultDir