
shanevolpe at gmail
Apr 1, 2008, 5:27 AM
Post #2 of 2
(180 views)
Permalink
|
|
Re: Fwd: Disabling Directory indexing is on in cherokee
[In reply to]
|
|
is there any place I can get documentation on the 0.6 config format, for instance how would I know how to generate the line "vserver!leemelo.com!directory!/!priority" unless I used cherokee-admin. I understand that I'm developing my embedded system on a host computer but all my debugging and web page design occurs on my target device. It *WILL* be quite a hassle to have to use cherokee-admin on my host, copy my config files over to the target and then debug it on the target. Regards, Shane On Tue, Apr 1, 2008 at 8:23 AM, Miguel Angel Ajo Pelayo <miguelangel[at]ajo.es> wrote: > Hi Nikolai, > > > Right now, cherokee-admin reads, and generates the file cherokee.conf at > /etc/cherokee/ > > It's a plain text config file with a simple formatting designed to be fast > and simple to parse. > > I paste here an snippet of my config for you to see how does it look like: > [---------------------------------------------------------------------] > vserver!leemelo.com!directory!/icons!handler!theme = firefox3 > vserver!leemelo.com!directory!/icons!handler!user = 0 > vserver!leemelo.com!directory!/icons!handler!date = 1 > vserver!leemelo.com!directory!/icons!handler!size = 1 > vserver!leemelo.com!directory!/icons!document_root = > /usr/share/cherokee/icons/ > vserver!leemelo.com!directory!/!priority = 4 > vserver!leemelo.com!directory!/!only_secure = 0 > vserver!leemelo.com!directory!/!handler = scgi > vserver!leemelo.com!directory!/!handler!error_handler = 0 > vserver!leemelo.com!directory!/!handler!check_file = 0 > vserver!leemelo.com!directory!/!handler!pass_req_headers = 0 > vserver!leemelo.com!directory!/!handler!balancer = round_robin > vserver!leemelo.com!directory!/!handler!balancer!1!interpreter = > /sites/leemelo.com/www.leemelo.com/leemelo/scgi.sh > vserver!leemelo.com!directory!/!handler!balancer!1!host = localhost:3033 > vserver!leemelo.com!directory!/!handler!balancer!type = interpreter > vserver!leemelo.com!directory!/!document_root = > /sites/leemelo.com/www.leemelo.com/ > > [--------------------------------------------------------------------------] > > > > 2008/4/1, Nikolai Kondrashov <Nikolai.Kondrashov[at]oktetlabs.ru>: > > > > Taher Shihadeh wrote: > > > The idea behind cherokee-admin is that it should always be an option > to > > > avoid the configuration hassle. For minimal environments > cherokee-admin > > > should be used on another machine and then copy the resulting > > > configuration file to the embedded device. > > > > I agree, but there should also be an option to have as complex > configuration > > as needed. > > > > > > > You'll be using another computer to develop whatever application you > are > > > working on, so this shouldn't be a problem. > > > > OK, what about automatically-generated configuration? Our project, for > > instance, allows specifying Web-server listening port through our > management > > interface (which allows configuring a huge amount of other things, also), > > which is currently done by processing environment variables in > > read_config_embedded.c. > > > > We will need the ability to configure other Web-server parameters, very > > probably, which could easily be accomplished through a configuration file > > generation both at run time and at build time. And without proper > > configuration file documentation I will need to dig into source code. > > > > Of course providing a possibility for hard-coded configuration would > satisfy > > our needs, but, having possibility to generate the configuration file is > > much nicer. > > > > Sincerely, > > Nick > > > > _______________________________________________ > > Cherokee mailing list > > Cherokee[at]cherokee-project.com > > http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee > > > > > _______________________________________________ > Cherokee mailing list > Cherokee[at]cherokee-project.com > http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee > > -- Registered Linux User: #293401 _______________________________________________ Cherokee mailing list Cherokee[at]cherokee-project.com http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
|