On Monday 07 September 2009 21:33:13 Alvaro Lopez Ortega wrote: > > Do you guys want me to fill this is a bug/request? > > Yes, please.. Otherwise I'll forget about it. I'm in the middle of > some relatively large code rewriting process, so I'd rather finish it > before checking out this other problem.
Yes sir! No problem! :) > > > PS: server!bind!1!port=80 <-- this fails, imho the parser should > > detect this > > situation: key + '=' and be smart about it. It's easy to forget a > > space :( > > I got mixed feelings here. If the configuration file is generated by > cherokee-admin, that'd never happen. > > You may be right though. Actually, if we changed it, we should > implement something like: [\w\d\!_]+[ \t]*=[ \t]*[\w\d\!_]+ (Cherokee > doesn't use regexs for the parsing, it's just a way to define the lex). > Yeap something like this would be great. Well you're right about using cherokee-admin but under certain situations, like my case, and hopefully some others, when using cherokee in the cloud (AWS for ex.) you sometimes need to reconfigure certain values with a script or similar things. Currently I deploy the cherokee config file remotely and do some changes for each node on the fly, and it's sometimes dangerous to edit them like that. That's the reason I started the thread. Right now I want to check the sanity of the config file everytime I change it and deploy it automatically so that I get no errors :) But I guess that for most people it isn't a issue :) I'll open two different reports for both issues so you can track them separately ok? > Cheers! :) Cheers man! :D > > > PD: BTW, if you feel in the mood for some hacking, patches are welcome! haha I would love to. I was willing to do that today, but when I dived into the code I realized it wasn't going to be as easy as I thought :P I'll keep poking around the code though and I send any patches if I have some time. PS: I've been looking the stats thing as I want to code a munin plugin for Cherokee. If I have some time this week I'll send it to the list :) -- http://www.neurosecurity.com "We must be the change we wish to see in the world" Mahatma Gandhi _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
