John Hampton wrote:

>>   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
>
> I gave it a spin and it works nicely.  Thanks also for the tar ball,
> it did make the whole compilation step easier as I don't have the
> gnutls dev package installed.
>
> <snip configuration>
>
> I was able to get trac working by following your config.  However,
> when I tried to modify it a bit and use the Scriptalias parameter of
> the cgi handler, it borked again.

  Yeah, it is certainly a twisted configuration ;-)

  I have been working for a while with your proposal. It makes sense,
  so I have committed a couple of changes in order to make it work,
  http://svn.0x50.org/change/80

  I have also uploaded a new beta:

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

  This is the configuration I have used to test it:

===
Port 80

DocumentRoot /usr/share/trac/htdocs/

Directory / {
    Handler redir {
      URL /projects/est
   }
}

Directory /projects/est {
    Handler cgi {
        ScriptAlias /usr/share/trac/cgi-bin/trac.cgi
        Env TRAC_ENV "/var/projects/test/"
        Env SCRIPT_NAME "/projects/est"
    }
}
===

  Now, it works with URLs like:

   http://localhost/projects/est/timeline
   http://localhost/projects/est/wiki

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

Reply via email to