Alvaro Lopez Ortega wrote:
<snip>

  Ok, I have sorted it out.

  The problem was that the server wasn't managing the properties of
  each entry in the right way for a corner case like that.

  The changes are here:

    http:/svn.0x50.org/change/83

  And the new beta in place:

    http://alobbs.com/tmp/cherokee-0.4.29b3.tar.gz

You rock! I have tested it out and login works great! It appears that Trac now works with Cherokee :)

However, I have found another bug :( When using the original configuration for trac (no scriptalias), trying to login causes cherokee to segafult. The first time login is selected, you are prompted with a username and password, and once you enter it, cherokee dies. After restarting cherokee and pressing the login link again, cherokee dies without prompting for username and password. Here is the configuration:

Directory / {
    Handler redir {
      URL /cgi-bin/trac.cgi
   }
}

Directory /trac {
    DocumentRoot /usr/share/trac/htdocs/
    Handler file
}

Directory /cgi-bin {
    Handler cgi {
      Env TRAC_ENV "/var/www/pacopablo.com/projects/trac/est"
    }
    DocumentRoot /usr/share/trac/cgi-bin
}

Directory /cgi-bin/trac.cgi/login {
    Auth Basic {
      Name "Trac"
      Method htpasswd {
        PasswdFile /var/www/pacopablo.com/projects/conf/projectusers
      }
    }
}

I have been able to reproduce this behavior on 2 boxes. One is a dual p2-400 and one is a p4 2.8GHz. Both are running Gentoo Linux.

Cherokee Web Server 0.4.29b3: Listening on ports 8080 and 8083
 with TLS support via OpenSSL, IPv6 disable, using epoll, 16384 fds limit
 10 threads, 1638 fds in each, standard scheduling policy
server.c/1326: Cherokee feels panic!
Segmentation fault

It's possible that it has something to do with my particular setup, so I wonder if anyone else can reproduce the bug. Also, when using the script alias as shown in my last email, everything works fine in 0.4.29b3. Finally, this crash is present in 0.4.29b{1,2,3} If no one else can reproduce the bug, let me know what more info you'd like form me. Thanks.

-John
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to