Pablo Fischer wrote:

> I'm using Cherokee and PHP (fastcgi) in my desktop/laptop for
> developing PHP applications (Jaws ;-)). Today I found a little bug
> that kills Cherokee, here's how to reproduce the bug:

  It is good to hear from you Pablo! BTW, you are a brave man, what a
  bleeding edge installation! ;-)

> 1. Create a new PHP file (info.php) and write:
>
> <?php phpinfo(); ?>
>
> 2. Point your browser to http://foo.bar.com/info.php/Foobar
> And magic ;-)
>
> I'm running: Cherokee Web Server 0.4.29

  I have checked it right now, take a look:

=====
$ cat /etc/cherokee/basic.conf
Port 80
DocumentRoot /var/www
Directory / { handler common }
Extension php {handler phpcgi }

$ sudo /usr/sbin/cherokee -C /etc/cherokee/basic.conf &
 Cherokee Web Server 0.5.0b1: Listening on port 80, TLS disabled, IPv6 enabled
 using epoll, 1024 fds limit, 5 threads, 204 fds in each
 standard scheduling policy

$ wget --save-headers -O - http://localhost/info.php/Foobar

HTTP/1.0 200 OK
Connection: Close
Date: Sun, 04 Dec 2005 18:30:43 GMT
Server: Cherokee/0.5.0b1 (UNIX)
Content-type: text/html
X-Powered-By: PHP/4.4.0-4

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"DTD/xhtml1-transitional.dtd">

[...]
=====

  I can think of two reason for the problem:

  - There was a problem which is already fixed in HEAD
  - There is a problem in the FastCGI handler (it is experimental, so
    it could be)

  Can you send a back-trace?

  Thanks Pablo! :-)

--
Greetings, alo.
_______________________________________________
Cherokee mailing list
Cherokee@lists.alobbs.com
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to