John Hampton wrote: > I just installed cherokee-0.4.28 and I have to say that I'm am > liking it so far. I had a little problem setting up basic > authentication and finally realized that it's because I followed a > bad example. That bad example lies in the form of the admin module.
Yep, you are right. It is fixed now in the repository: http://svn.0x50.org/change/75 > Now, because I wanted to see what the admin module does, and I can't > find any documentation on it, I simple commented out the Auth > section. However, if I try to access /admin, it gives me a 400 Bad > Request error and spits out the HTTP request. I'm guessing that's > not the correct behavior. Does the admin module work? If so, what > am I doing wrong? Currently there is only public tool relaying on the admin module. The log rotation utility uses it to set the server in backup mode (you can think of it as the backup mode on a Data Base server). The binary is called cherokee_logrotate. If you want to rotate your logs, but you don't want to shut down the server, you can just do: cherokee_logrotate http://localhost/admin/ /var/log/cherokee.log It will set the server in backup mode, then it will rotate the log file safely, and finally it will restore the common working mode. In this way you will suffer a zero seconds down time. We have more software using it, but it have not been released yet. I know, I should do it soon.. there is any real reason to keep it closed. My only concern is that they have not been widely tested, but open them is the best way to solve it, so.. :-) > Finally, is there a list of 3rd party modules? Are there any known? > And is there any documentation for writing plugin modules? All the previous external work has been contributed to the project. AFAIK, there are not third party Cherokee modules at this moment. About the documentation, Ayose (setepo) wrote a tutorial one year ago or so about the API, but.. it is Spanish, so I suppose it will not be very useful for you (well, actually, I'm not sure because your domain name ;-) Anyway, it would be nice to write down some documentation about the API. Add Doxygen comments would be a good beginning.. if there is someone who want to start this task, I will join him :-) -- Greetings, alo. _______________________________________________ Cherokee mailing list [email protected] http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee
