embedthis/appweb-4 — pull request #17 by jchampio (2012-07-23 15:18:42+00:00)
Title: LoadModulePath should resolve relative to server home

Relative paths in the LoadModulePath directive currently resolve against the current working directory, which makes separating Appweb modules from the Appweb executable on disk difficult (and clashes somewhat with other configuration directives, such as ErrorLog, that are relative to the server home). This patch resolves all relative paths in the LoadModulePath list using the httpMakePath function, which is relative to the home for the current host.

A side-effect of this patch is that special directory tokens can be used in the LoadModulePath.