Hi,

  I have been trying to check the problem that John Hampton reported
  about the Trac and Cherokee.  I'm glad to say, it is now sorted out.

  There were a couple of issues on the CGI back-end which were causing
  the python back-trace. Well, they weren't really problems of the
  Cherokee but a misunderstanding between Cherokee and Trac:

  Trac expects to receive some variables which don't make much sense
  to set in all the situations, but it doesn't check it they are set
  or not, hence it was trying to concatenate an string with a None
  object..

  Everything is now fixed and working.  I have committed the patch to
  the repository:

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

  I have also uploaded a beta version of the next release with those
  changes. I know some of you have problems compiling Cherokee from
  the SVN, so it might be handy for you:

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

  Ah, by the way.. these are the step I have followed to install Trac
  with Cherokee in a Debian box. As root:

===
  apt-get install trac

  svnadmin create /var/svn/test
  trac-admin /var/projects/test initenv

  chown -R www-data:www-data /var/projects/test
===

  My example configuration file was:

===
Port 80

DocumentRoot /usr/share/trac/htdocs/

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/projects/test/"
    }
    DocumentRoot /usr/share/trac/cgi-bin
}

Directory /cgi-bin/trac.cgi/login {
    Auth Basic {
      Name "Trac"
      Method htpasswd {
        PasswdFile /var/projects/test.htpasswd
      }
    }
}
===

  and, that is all folks.
  Enjoy! :-)

--
Greetings, alo.

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

Reply via email to