On 17/10/2010, at 18:04, Esteban Feldman wrote: > Is there any way to configure cherokee other than cherokee-admin... is there > any API to do so? > > Imagine this use case: Web Hosting with automated vshare creation via scripts
There isn't any library/module to do so. However, the Cherokee configuration has been designed to be trivial to parse and edit by computer programs. Actually, it was explicitly designed for that. It should be fairly straightforward to write a little program to perform operations on it. As an example, here you can find the Python parsing class be use within Cherokee-admin¹. Basically, it reads the configuration file as the tree that it is, and provide interfaces to access its information/shape and to modify it. 1.- http://svn.cherokee-project.com/browser/CTK/trunk/CTK/Config.py -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
