cherokee-admin -b ;-) + read the docs ;)
Pozdrawiam
Jędrzej Nowak


2011/5/8 Ryan B <[email protected]>:
> Okay, got it.. is it possible to run admin on a real-world ip rather
> than localhost?
>
> 2011/5/9 Jędrzej Nowak <[email protected]>:
>> As I said... run cherokee-admin :) not cherokee/cherokee-worker :)
>> It's in pref/sbin/cherokee-admin
>>
>> And cherokee admin is not a daemon :)
>>
>> On 8 May 2011 16:36, "Ryan B" <[email protected]> wrote:
>>> Okay, managed to get the daemon to stay put, and its running..
>>>
>>> root 9311 0.0 0.3 11560 960 ? Sl 18:32 0:00
>>> /usr/local/sbin/cherokee
>>> root 9315 0.0 0.6 37032 1796 ? Sl 18:32 0:00
>>> /usr/local/sbin/cherokee-worker
>>>
>>> But lynx doesnt see localhost:9090 (or 127.0.0.1:9090)
>>>
>>>
>>> 2011/5/9 Jędrzej Nowak <[email protected]>:
>>>> Well... You need to run it and 'keep it' it's not a daemon ;)
>>>>
>>>>
>>>> Pozdrawiam
>>>> Jędrzej Nowak
>>>>
>>>>
>>>>
>>>> 2011/5/8 Ryan B <[email protected]>:
>>>>> Ah, but I did :)
>>>>>
>>>>> root@server1:~# lynx http://localhost:9090
>>>>>
>>>>> Looking up localhost:9090
>>>>> Making HTTP connection to localhost:9090
>>>>> Alert!: Unable to connect to remote host.
>>>>>
>>>>> lynx: Can't access startfile http://localhost:9090/
>>>>>
>>>>> Nothing is showing in ps, so it's not surprising lynx can't load it
>>>>>
>>>>>
>>>>> 2011/5/9 Jędrzej Nowak <[email protected]>:
>>>>>> If you're new:
>>>>>>
>>>>>> ## be tweaked in a easy and safe way. Run cherokee-admin as root, and
>>>>>> ## then proceed to point your web browser to: http://localhost:9090/
>>>>>>
>>>>>> You should read that lines in .conf ;)
>>>>>>
>>>>>> Just run cherokee-admin ;)
>>>>>>
>>>>>> Greetings,
>>>>>> Jędrzej Nowak
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, May 8, 2011 at 4:07 PM, Ryan B <[email protected]> wrote:
>>>>>>> Installing from a tarball and compiled, but when I start it
>>>>>>> "/etc/init.d/cherokee start", no cherokee log files in /var/log/
>>>>>>>
>>>>>>> root@server1:/etc/init.d# ./cherokee start
>>>>>>> Starting cherokee web server: cherokee.
>>>>>>> root@server1:/etc/init.d# ps aux | grep chero
>>>>>>> root     13513  0.0  0.2   1876   596 pts/0    S+   18:04   0:00 grep
>>>>>>> --color=auto chero
>>>>>>> root@server1:/etc/init.d# cat /etc/cherokee/cherokee.conf
>>>>>>> ##
>>>>>>> ## cherokee.conf -- Cherokee HTTP server configuration file
>>>>>>> ##
>>>>>>> ## Common use
>>>>>>> ##
>>>>>>> ## NOTE: This file is NOT meant to be edited by hand. Instead, a
>>>>>>> ## convenient configuration interface is available, so the server can
>>>>>>> ## be tweaked in a easy and safe way. Run cherokee-admin as root, and
>>>>>>> ## then proceed to point your web browser to: http://localhost:9090/
>>>>>>> ##
>>>>>>>
>>>>>>> # Server
>>>>>>> #
>>>>>>> server!bind!1!port = 80
>>>>>>> server!timeout = 15
>>>>>>> server!keepalive = 1
>>>>>>> server!keepalive_max_requests = 500
>>>>>>> server!server_tokens = full
>>>>>>> server!panic_action = /usr/local/bin/cherokee-panic
>>>>>>> server!pid_file = /var/run/cherokee.pid
>>>>>>>
>>>>>>> # Default virtual server
>>>>>>> #
>>>>>>> vserver!1!nick = default
>>>>>>> vserver!1!document_root = /var/www
>>>>>>> vserver!1!directory_index = index.html
>>>>>>>
>>>>>>> vserver!1!logger = combined
>>>>>>> vserver!1!logger!access!type = file
>>>>>>> vserver!1!logger!access!filename = /var/log/cherokee.access
>>>>>>> vserver!1!logger!access!buffsize = 16384
>>>>>>>
>>>>>>> vserver!1!error_writer!type = file
>>>>>>> vserver!1!error_writer!filename = /var/log/cherokee.error
>>>>>>>
>>>>>>> vserver!1!rule!1!match = default
>>>>>>> vserver!1!rule!1!handler = common
>>>>>>> vserver!1!rule!1!handler!iocache = 1
>>>>>>>
>>>>>>> vserver!1!rule!2!match = directory
>>>>>>> vserver!1!rule!2!match!directory = /icons
>>>>>>> vserver!1!rule!2!handler = file
>>>>>>> vserver!1!rule!2!document_root = /usr/local/share/cherokee/icons
>>>>>>>
>>>>>>> vserver!1!rule!3!match = directory
>>>>>>> vserver!1!rule!3!match!directory = /cherokee_themes
>>>>>>> vserver!1!rule!3!document_root = /usr/local/share/cherokee/themes
>>>>>>> vserver!1!rule!3!handler = file
>>>>>>>
>>>>>>> vserver!1!rule!4!match = directory
>>>>>>> vserver!1!rule!4!match!directory = /cgi-bin
>>>>>>> vserver!1!rule!4!document_root = NONE/lib/cgi-bin
>>>>>>> vserver!1!rule!4!handler = cgi
>>>>>>>
>>>>>>> vserver!1!rule!5!match = directory
>>>>>>> vserver!1!rule!5!match!directory = /about
>>>>>>> vserver!1!rule!5!encoder!gzip = 1
>>>>>>> vserver!1!rule!5!handler = server_info
>>>>>>> vserver!1!rule!5!handler!type = just_about
>>>>>>> _______________________________________________
>>>>>>> Cherokee mailing list
>>>>>>> [email protected]
>>>>>>> http://lists.octality.com/listinfo/cherokee
>>>>>>>
>>>>>>
>>>>>
>>>>
>>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to