Alvaro Lopez Ortega | 1 Apr 2006 02:29
Picon

Re: BUG: Missing 'break;' in handler_error.c?

Hi,

>   I think I may have found a small (more confusing than problematic)
> bug in Cherokee 0.5.0.  In cherokee/handler_error.c,
>
> +		break;
>  	case http_upgrade_required:

  Thanks for the patch Philip. :-)
  It is applied now:

     http://www.0x50.org/bugs/changeset/239

--

-- 
Greetings, alo.
Alvaro Lopez Ortega | 1 Apr 2006 02:49
Picon

Re: PHP4 + Chroot

berVi wrote:

> Is it possible to use Cherokee + PHP with Chroot?  Cherokee is
> chrooted into /var/www, but now I can't run php files, I tried
> symbolic links, doesn't work, I get a 200 OK msg.
>
> I also tried to copy the php interpreter to /var/www/usr/local/bin,
> coz it's original path is /usr/local/bin, but then I get a 500
> Internal Server Error msg.

  I would suggest you to run the PHP interpreter inside a jail (using
  the FastCGI interface and listening to some port).

  Then, configure Cherokee to be chroot'ed as well and set it up to
  use PHP through the FastCGI port you opened before. It should work.

> It's with phpcgi, I still can't use the fcgi handler.

  Okay. If you want to use phpcgi what you have to do is specify the
  path to the interpreter, for example:

=======
  Chroot /var/www
  DirectoryRoot /

  Directory / {
    Handler common
  }

  Extension php {
(Continue reading)

Alvaro Lopez Ortega | 1 Apr 2006 14:36
Picon
Gravatar

New branches and subversion changes

Hi folks,

  As we planned, I have created a new branch in the repository. Now,
  there are two branches:

  - Stable: We will be maintaining this one from now on. We will fix
    bugs, and eventually we will also add little improvements.
    Basically, it contains the code of the 0.5.x releases.

       svn://www.0x50.org/cherokee/branches/0.5

  - Unstable: This one is open field for new code, improvements and
    new features. This one is what will become Cherokee 0.6 in a few
    months:

       svn://www.0x50.org/cherokee/trunk

  so, for those of you who are using the Subversion server, remember
  that the paths have changed. :-)

--

-- 
Greetings, alo.
http://www.alobbs.com
berVi | 2 Apr 2006 10:34
Picon
Favicon

Re: PHP4 + Chroot

--- Alvaro Lopez Ortega <alvaro <at> sun.com> wrote:

>   I would suggest you to run the PHP interpreter
> inside a jail (using
>   the FastCGI interface and listening to some port).
> 
>   Then, configure Cherokee to be chroot'ed as well
> and set it up to
>   use PHP through the FastCGI port you opened
> before. It should work.

I'm not sure that there is jail in OpenBSD. But now
I'm trying all this without chroot. It does not want
to work. I configured it using the documentation, but
no success. The php interpreter starts, but when I try
to load a php page, it says (in the console):

socket.c:1110: ERROR: Can not connect: Invalid
argument
socket.c:1110: ERROR: Can not connect: Invalid
argument
socket.c:1110: ERROR: Can not connect: Invalid
argument
socket.c:1110: ERROR: Can not connect: Invalid
argument
socket.c:1110: ERROR: Can not connect: Invalid
argument
socket.c:720: ERROR: write(13, ..) -> errno=57 'Socket
is not connected'
socket.c:824: ERROR: read(13, ..) -> errno=57 'Socket
(Continue reading)

Rodrigo Fernandez-Vizarra | 8 Apr 2006 16:25
Picon
Favicon

Parche para downloader.[ch] y cget (main.c)

Hi guys,

I have implemented a new interface in downloader to be able to query the 
status of a download. I changed cget to use this new interface. cget is 
working again, and with this patch SVN head should compile again.

Please review the patch, if there is no problem with the patch I will 
commit it to subversion

Thanks,
Rodrigo

Attachment (downloader.patch): text/x-patch, 8 KiB
_______________________________________________
Cherokee mailing list
Cherokee <at> 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
Alvaro Lopez Ortega | 9 Apr 2006 09:53
Picon
Gravatar

Re: Parche para downloader.[ch] y cget (main.c)

Hi Rodrigo,

> I have implemented a new interface in downloader to be able to query
> the status of a download. I changed cget to use this new
> interface. cget is working again, and with this patch SVN head
> should compile again.
>
> Please review the patch, if there is no problem with the patch I
> will commit it to subversion

  Good stuff!! please, go for it :-)

--

-- 
Greetings, alo.
http://www.alobbs.com
Alvaro Lopez Ortega | 10 Apr 2006 09:57
Picon
Gravatar

Cherokee 0.5.1 released (stable branch)

Cherokee 0.5.1 "XSS? Oops!" released!

Description
===========
Cherokee is a very fast, flexible and easy to configure Web Server.
It supports the widespread technologies nowadays: FastCGI, SCGI, PHP,
CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication,
on the fly encoding, Apache compatible log files, and much more.

It also provides two versions. The default one scales up in SMP
systems. Besides, it is also possible to compile u-Cherokee, a much
smaller version of the server suitable for embedded devices.

More information: http://www.0x50.org

Changes
=======
- Fixes and Changes:
  * XSS issue fixed
  * Sun CC compilation fixed

Availability
============
* Main site:
  http://0x50.org/download/0.5/0.5.1/
   ftp://0x50.org/cherokee/0.5/0.5.1/


Binary packages
===============
(Continue reading)

Evert | 10 Apr 2006 15:26
Alvaro Lopez Ortega | 10 Apr 2006 16:30
Picon
Subject: Re: 20006? ;-)

Hi Evert,

> http://www.0x50.org/doc/Current_events.html

  Hehe.. what a silly mistake.

  Whatever you find like this, please feel free to fix it using the
  Wiki intereface: http://www.0x50.org/wiki/

  Thanks for the report ;)

--

-- 
Greetings, alo.
David Kimpe | 10 Apr 2006 17:36
Picon

cherokee 0.5.1 compile problem

Hi, I'm maintainer of cherokee on Frugalware Linux.
I wanted to upgrade the package to 0.5.1 today, but I noticed it 
wouldn't compile [on i686].

The buildlog can be found here: 
http://frugalware.org/~dnaku/other/cherokee-0.5.1-1-i686.log

my system: 2.6.16 kernel, glibc 2.4 and gcc 4.1.0

--

-- 
David Kimpe a.k.a. DNAku
Dare to Think Different
http://dnaku.distrotalk.net | http://blogs.frugalware.org/powerpc

Gmane