James Pic wrote:
> Hello everybody,
> Server keeps sending 500 response when trying to get to
> http://blog.devangels.org
> 
> This is the configuration, made through the interface, by copying the manual
> screenshots::
> 
>   xl scripts # grep blog /etc/cherokee/cherokee.conf
>   vserver!blog!domain!1 = blog.devangels.*
>   vserver!blog!directory_index = index.php
>   vserver!blog!logger = combined
>   vserver!blog!logger!access!type = file
>   vserver!blog!logger!access!filename = /var/log/blog_access
>   vserver!blog!logger!error!type = file
>   vserver!blog!logger!error!filename = /var/log/blog_errors
>   vserver!blog!rule!200!only_secure = 0
>   vserver!blog!rule!200!handler = fcgi
>   vserver!blog!rule!200!handler!error_handler = 0
>   vserver!blog!rule!200!handler!check_file = 1
>   vserver!blog!rule!200!handler!pass_req_headers = 0
>   vserver!blog!rule!200!handler!balancer = round_robin
>   vserver!blog!rule!200!handler!balancer!1!interpreter = /usr/bin/php-cgi -d 
> 3018
>   vserver!blog!rule!200!handler!balancer!1!host = localhost:3018
>   vserver!blog!rule!200!handler!balancer!1!env!PHP_FCGI_CHILDREN = 2
>   vserver!blog!rule!200!handler!balancer!type = interpreter
>   vserver!blog!rule!200!match = extensions
>   vserver!blog!rule!200!match!extensions = php
>   vserver!blog!rule!200!match!final = 1
>   vserver!blog!rule!100!only_secure = 0
>   vserver!blog!rule!100!handler = common
>   vserver!blog!rule!100!handler!symlinks = 1
>   vserver!blog!rule!100!handler!theme = firefox3
>   vserver!blog!rule!100!handler!group = 0
>   vserver!blog!rule!100!handler!iocache = 1
>   vserver!blog!rule!100!handler!user = 0
>   vserver!blog!rule!100!handler!allow_pathinfo = 0
>   vserver!blog!rule!100!handler!date = 1
>   vserver!blog!rule!100!handler!size = 1
>   vserver!blog!rule!100!match = default
>   vserver!blog!rule!100!match!final = 0
>   vserver!blog!document_root = /var/www/devangels/devangels.org/root
> 
> Note that, everything seems normal when only using "List & Send".
> 
> I don't understand where are the error logs, this vhost's log is full of::
> 
>   ::ffff:82.240.220.118 - - [12/Aug/2008:14:44:52 +0000] "GET /index.php 
> HTTP/1.1"
>   500 0 "-" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9) Gecko/2008052912
>   Firefox/3.0"
> 
> Using the following version::
> 
>   Cherokee Web Server 0.7.2
>   Written by Alvaro Lopez Ortega <[EMAIL PROTECTED]>
>   
>   Copyright (C) 2001-2008 Alvaro Lopez Ortega.
>   This is free software; see the source for copying conditions.  There is NO
>   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Maybe i was supposed to start the fcgi server myself?
> Maybe i missed something in the manual?
> 
> BTW, i'd like to congratulate the Cherokee developpers for making it possible 
> to
> configure a web-server in a modern manner: this is a real innovation!
> 
> Thanks in advance for your help.
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
> 

As far as I can tell this line:

vserver!blog!rule!200!handler!balancer!1!interpreter = /usr/bin/php-cgi
-d 3018

says that /usr/bin/php-cgi should use a php-ini-file located at 3018.
Thats probably not what you want. In my configuration I use the
php-cgi-parameter -b (not -d) to specify the port on which cherokee
shall try to connect to.

... I suggest you modify the line to: /usr/bin/php-cgi -b 3018

I'd also like to congratulate the Cherokee developers on their work.
Well done - really: well done!

PS.: This is my first reply to a mailing list ever, please be patient
with me. :)

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to