websSetDefaultDir GoAhead WebServer API GoAhead EMF

Synopsis

Define the default web page directory.

Prototype

 #include "webs.h" 

 void  websSetDefaultDir(char_t *dir); 

Parameters

dir Directory path containing the web pages.

Description

The websSetDefaultDir procedure defines the primary web page repository. The default URL handler will look in the default directory and subdirectories to locate requested web pages. The dir parameter should contain only "/" path delimiters and not "\" separators.

Return Value

None

Example

 websSetDefaultDir("/mydir"); 

Stability Classification

Stable.

See Also

websGetDefaultDir, websGetDefaultPage, websSetDefaultPage