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 only contain "/" path delimiters and not "\" separators.

Return Value

None

Example

websSetDefaultDir("/mydir");

See Also:

websGetDefaultDir, websGetDefaultPage, websSetDefaultPage