websSetRequestLpath | GoAhead WebServer API | GoAhead EMF |
Define the local pathname to retrieve the web document for the current browser request
#include "webs.h" void websSetRequestLpath(webs_t wp, char_t *path);
wp | Web server connection handle |
path | Local file path name for this request |
The websSetRequestLpath procedure defines the local path for the current request. The local path is normally a combination of the request directory and the request path and is created by the default URL handler.
None
gsnprintf(path, "/mydir/%s", websGetRequestPath(wp)); websSetRequestLpath(wp, path);
websGetRequestDir, websGetRequestPath, websGetRequestLpath, websSetRequestPath