Wexus2 0.20
|
This page contains help on various modules and parameters available in the stock wexusserver system.
You run wexusserver like so:
wexusserver sitedir
If the sitedir doesn't contain any site.ini or app.ini files, it will be hosted using the basic file server module.
The root sitedir may contain a site.ini file. This file contains site-wide options.
Any subdirectory of the sitedir may have an app.ini file. This will launch one or more apps in the give directory.
The ini file has sections, one per app. You start a new section with [brackets]. You can put a descriptive name within the [brackets]. The apps will be loaded in a sorted order.
Common user settings:
Common files:
For programmers, there are some computed fields to: mountpoint (e.g. blog), appdir (the current dir), and sitedir (the sitedir)
Example app.ini:
[1redirector]
app = ca.demko.redirect
link1 = "/src dest"
[2fileer]
app = ca.demko.file
[3mainblooger]
app = ca.demko.blog