Jens K�rner wrote:

> Yes, lxoffice(german forked sql-ledger) is completely written in perl
> but uses cgi-script as you can see.
> Here is that httpd.conf
> #
> Alias /lxoffice-test/images/ /usr/share/lxoffice-test/
> 
> Alias /lxoffice-test/ /usr/lib/lxoffice-test/
> 
> <Directory /usr/lib/lxoffice-test>
>   AddHandler cgi-script .pl
>   Options ExecCGI Includes FollowSymlinks
>   AddDefaultCharset On
> </Directory>
> #
> But I have no idea how to make it work with cherokee, suggestions are
> very welcome

  Well, I haven't tested it, but it should be:

===
  Extension pl {
        Handler cgi
  }

  Directory /lxoffice-test {
        Handler file
        DocumentRoot /usr/lib/lxoffice-test/
  }

  Directory /lxoffice-test/images {
        DocumentRoot /usr/share/lxoffice-test/
  }
===

  This configuration example uses the new configuration grammar added in
the last release.  If you can, use the last pre-release, it has improved
slightly that support:

  http://alobbs.com/tmp/cherokee-0.4.22b02.tar.gz

  I will release 0.4.22 on Monday, it is almost finished. :-)

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

Reply via email to