Databases definitions created through the web interface are not stored as cgi files.
They are stored in "data dictionary" files, in a special directory.
Copy the "db" directory under the server root, make script executables.
Verify settings for each script:
db/use -> perl path, woda directory, name of woda engine.
db/dir -> perl path, path to woda and data dir.
Configure your web server to serve "db" content as cgi files. As an alternative, this can be set in a .htaccess file.
Sample for Apache:
<Directory /var/www/www/db>
# execute cgi files
Options ExecCGI
# all files here are cgi
SetHandler cgi-script
</Directory>
If your data dir (wdat) is outside (or "below") server root, you must define these setting in your woda.conf:
$ENV{DOCUMENT_ROOT} = '/absolute/path/to/server/root';
$DATADIRDIR = '/absolute/path/to/data/dir';
$USEURL = '/url/to/db/use'; relative or absolute ??????????????????
It will not be fully automatic, but it is enough to test.
Launch a database: as admin user, go to http://url-of-a-database/NewTableMenu
The dir script is a database. It will populate itself every hour by default.
Configure the script (path to woda, data dir, etc.), launch it and make a search 2 times.
The second search will show a list of created databases.
To ease db creation, you can define a dummy database, its only purpose is to launch the creation functions and the documentat
Put some links somewhere...
Add this directive in server configuration
ScriptAliasMatch ^/([A-Z].*) /path/to/db/test
Create some [[Templates database templates]]