websSetDefaultDir | GoAhead WebServer API | GoAhead EMF |
Define the default web page directory.
#include "webs.h" void websSetDefaultDir(char_t *dir);
dir | Directory path containing the web pages |
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.
None
websSetDefaultDir("/mydir");