Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

0.7.0

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


skinkie at xs4all

Apr 8, 2008, 4:47 PM

Post #1 of 6 (341 views)
Permalink
0.7.0

ERROR: Virtual Server: Unknown key 'directory'
Couldn't read the config file: /opt/cherokee/etc/cherokee/cherokee.conf
Server PID=18562 exited re=2

As expected?


Stefan

_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


alvaro at gnu

Apr 8, 2008, 5:24 PM

Post #2 of 6 (332 views)
Permalink
Re: 0.7.0-pre [In reply to]

On 8 Apr 2008, at 18:47, Stefan de Konink wrote:
> ERROR: Virtual Server: Unknown key 'directory'
> Couldn't read the config file: /opt/cherokee/etc/cherokee/
> cherokee.conf
> Server PID=18562 exited re=2
>
> As expected?

I'm tempted to say "yes". :-)

The internal configuration format has changed, but I haven't had the
time to update cherokee-admin. If you want to fix it by hand now, you
only have to follow these rules:

- Directory, Extension, and Request entries are "Rules" now. For
instance, what used to be "vserver!default!directory" is now "vserver!
default!rule!directory".

- There is a new rule type: "default". What used to be "vserver!
default!directoy!/" (the default entry that always matches) now is
"vserver!default!rule!default".

Once you change that, everything should work as expected. Anyway, I
would suggest you not to waste time fixing the internal configuration
file by hand; I will update the configuration interface pretty soon.

--
Greetings, alo.
http://www.alobbs.com/
_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


alvaro at sun

Apr 9, 2008, 9:06 PM

Post #3 of 6 (332 views)
Permalink
Re: 0.7.0-pre [In reply to]

Hi there,

I have just committed the changes to trunk (SVN r1382). Unless I have
made some mistake, cherokee-admin should be working again.

As for server itself, testing and feedback for cherokee-admin is
highly appreciated.

Cheers!

On 8 Apr 2008, at 19:24, Alvaro Lopez Ortega wrote:
> On 8 Apr 2008, at 18:47, Stefan de Konink wrote:
>> ERROR: Virtual Server: Unknown key 'directory'
>> Couldn't read the config file: /opt/cherokee/etc/cherokee/
>> cherokee.conf
>> Server PID=18562 exited re=2
>>
>> As expected?
>
> I'm tempted to say "yes". :-)
>
> The internal configuration format has changed, but I haven't had the
> time to update cherokee-admin. If you want to fix it by hand now,
> you only have to follow these rules:
>
> - Directory, Extension, and Request entries are "Rules" now. For
> instance, what used to be "vserver!default!directory" is now
> "vserver!default!rule!directory".
>
> - There is a new rule type: "default". What used to be "vserver!
> default!directoy!/" (the default entry that always matches) now is
> "vserver!default!rule!default".
>
> Once you change that, everything should work as expected. Anyway, I
> would suggest you not to waste time fixing the internal
> configuration file by hand; I will update the configuration
> interface pretty soon.

--
Greetings, alo.

_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


funkymonster at gmail

Apr 10, 2008, 12:25 PM

Post #4 of 6 (331 views)
Permalink
Re: 0.7.0-pre [In reply to]

> > As expected?
> - Directory, Extension, and Request entries are "Rules" now. For
> instance, what used to be "vserver!default!directory" is now "vserver!
> default!rule!directory".
>
> - There is a new rule type: "default". What used to be "vserver!
> default!directoy!/" (the default entry that always matches) now is
> "vserver!default!rule!default".

Hi guys, I do this to the cherokee.conf in vi:

The first change:
:%s/vserver!default!directory!/vserver!default!rule!directory!/

The second change:
:%s/vserver!default!directory!\/!/vserver!default!rule!default!/

The third change:
:%s/vserver!default!extensions!/vserver!default!rule!extensions!/

That's all for the cherokee "out of the box" :)

For the other vservers I do:

:%s/vserver!other_vserver!directory!/vserver!other_vserver!rule!directory!/

:%s/vserver!other_vserver!rule!directory!\/!/vserver!other_vserver!rule!default!/

I hope this help :)

Seeya :)


--
Luis Antonio Galindo Castro aka FunkyM0nk3y
Fingerprint: 237E EFE1 6055 BCEB ACD0 7A49 30FC A883 0044 A85E
_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


alvaro at gnu

Apr 10, 2008, 3:27 PM

Post #5 of 6 (332 views)
Permalink
Re: 0.7.0-pre [In reply to]

Hello Antonio,

Thanks for the tip. I bet people testing trunk will appreciate it!

Anyway, I will add a new contrib/06to07.py script in 0.7.0 to make the
conversion automatically. This time the configuration file change is
minimum and it should not be such a big issue as in the 0.6 release.

On 10 Apr 2008, at 14:25, Antonio Galindo Castro wrote:
>>> As expected?
>> - Directory, Extension, and Request entries are "Rules" now. For
>> instance, what used to be "vserver!default!directory" is now
>> "vserver!
>> default!rule!directory".
>>
>> - There is a new rule type: "default". What used to be "vserver!
>> default!directoy!/" (the default entry that always matches) now is
>> "vserver!default!rule!default".
>
> Hi guys, I do this to the cherokee.conf in vi:
>
> The first change:
> :%s/vserver!default!directory!/vserver!default!rule!directory!/
>
> The second change:
> :%s/vserver!default!directory!\/!/vserver!default!rule!default!/
>
> The third change:
> :%s/vserver!default!extensions!/vserver!default!rule!extensions!/
>
> That's all for the cherokee "out of the box" :)
>
> For the other vservers I do:
>
> :%s/vserver!other_vserver!directory!/vserver!other_vserver!rule!
> directory!/
>
> :%s/vserver!other_vserver!rule!directory!\/!/vserver!other_vserver!
> rule!default!/
>
> I hope this help :)
>
> Seeya :)
>
>
> --
> Luis Antonio Galindo Castro aka FunkyM0nk3y
> Fingerprint: 237E EFE1 6055 BCEB ACD0 7A49 30FC A883 0044 A85E

--
Greetings, alo.
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


alvaro at gnu

Apr 10, 2008, 9:13 PM

Post #6 of 6 (331 views)
Permalink
Re: 0.7.0-pre [In reply to]

It is now in the repository..

http://svn.cherokee-project.com/browser/cherokee/trunk/contrib/06to07.py

As you can see, the change is trivial.
Enjoy it!

On 10 Apr 2008, at 17:27, Alvaro Lopez Ortega wrote:
> Hello Antonio,
>
> Thanks for the tip. I bet people testing trunk will appreciate it!
>
> Anyway, I will add a new contrib/06to07.py script in 0.7.0 to make
> the conversion automatically. This time the configuration file
> change is minimum and it should not be such a big issue as in the
> 0.6 release.
>
> On 10 Apr 2008, at 14:25, Antonio Galindo Castro wrote:
>>>> As expected?
>>> - Directory, Extension, and Request entries are "Rules" now. For
>>> instance, what used to be "vserver!default!directory" is now
>>> "vserver!
>>> default!rule!directory".
>>>
>>> - There is a new rule type: "default". What used to be "vserver!
>>> default!directoy!/" (the default entry that always matches) now is
>>> "vserver!default!rule!default".
>>
>> Hi guys, I do this to the cherokee.conf in vi:
>>
>> The first change:
>> :%s/vserver!default!directory!/vserver!default!rule!directory!/
>>
>> The second change:
>> :%s/vserver!default!directory!\/!/vserver!default!rule!default!/
>>
>> The third change:
>> :%s/vserver!default!extensions!/vserver!default!rule!extensions!/
>>
>> That's all for the cherokee "out of the box" :)
>>
>> For the other vservers I do:
>>
>> :%s/vserver!other_vserver!directory!/vserver!other_vserver!rule!
>> directory!/
>>
>> :%s/vserver!other_vserver!rule!directory!\/!/vserver!other_vserver!
>> rule!default!/
>>
>> I hope this help :)
>>
>> Seeya :)
>>
>>
>> --
>> Luis Antonio Galindo Castro aka FunkyM0nk3y
>> Fingerprint: 237E EFE1 6055 BCEB ACD0 7A49 30FC A883 0044 A85E
>
> --
> Greetings, alo.
> http://www.alobbs.com/
>

--
Greetings, alo.
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.