Hi, May be this info should go into some doc? jifty server --help?
On Fri, Jul 9, 2010 at 8:35 PM, Thomas Sibley <t...@bestpractical.com> wrote: > Stanislav-- > > I tracked down the issue to a lighty quirk. > > I'd recommend upgrading to lighttpd version 1.4.23 or newer if possible. > Then you'll just need to fix your fastcgi configuration so that your app is > mounted at "/" instead of "" (as "jifty help fastcgi" used to recommend) and > add this to the fastcgi config: "fix-root-scriptname" => "enable". > > If you can't upgrade lighttpd, then you'll have to use Plack middleware to > workaround lighty's bug. > > There's more information on using lighttpd with Plack's FCGI support and the > middleware fix if you can't ugprade: > > http://search.cpan.org/dist/Plack/lib/Plack/Handler/FCGI.pm#lighttpd > http://search.cpan.org/dist/Plack/lib/Plack/Middleware/LighttpdScriptNameFix.pm > > Hope that helps! > > Thomas > > > On 07/09/2010 10:27 AM, Stanislav Sinyagin wrote: >> hi, >> >> the problem still persists after today's git pull and upgrading Plack to >> the latest CPAN release. >> >> is there a way I could help troubleshooting this? >> >> >> *From:* Stanislav Sinyagin <ssinya...@yahoo.com> >> *To:* Nifty apps in a Jiffy <jifty-devel@lists.jifty.org> >> *Sent:* Fri, May 7, 2010 1:56:21 PM >> *Subject:* Re: [jifty-devel] CompressedCSSandJS fails under FastCGI >> >> After commenting out the plugin from config.yml, the CSS and JS are >> loaded fine: >> >> Plugins: >> # - CompressedCSSandJS: {} >> >> how do I make it work again with the compressed CS and JS? >> >> >> ------------------------------------------------------------------------ >> *From:* Stanislav Sinyagin <ssinya...@yahoo.com> >> *To:* jifty-devel@lists.jifty.org >> *Sent:* Thu, May 6, 2010 2:52:34 PM >> *Subject:* [jifty-devel] CompressedCSSandJS fails under FastCGI >> >> I'm still having troubles with running the current HEAD under FastCGI. >> >> Now CSS and JS is not delivered. "jifty server" delivers them fine, >> but with FastCGI I get the following: >> >> 2010-05-06 14:48:43: (mod_fastcgi.c.2618) FastCGI-stderr: INFO - >> POST request for / >> >> 2010-05-06 14:48:43: (mod_fastcgi.c.2618) FastCGI-stderr: INFO - GET >> request for /__jifty/css/180f48ff0faf6c25de0785a43f82374d.css >> WARN - Can't find 404 page! >> >> 2010-05-06 14:48:43: (mod_fastcgi.c.2618) FastCGI-stderr: INFO - GET >> request for /__jifty/js/0e05571772a27e15f168b59164a5e1a9.js >> WARN - Can't find 404 page! >> >> >> I'm using: >> CentOS release 5.4 >> lighttpd-fastcgi-1.4.22-2.el5.rf >> lighttpd-1.4.22-2.el5.rf >> >> >> >> >> >> _______________________________________________ >> jifty-devel mailing list >> jifty-devel@lists.jifty.org >> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel > > _______________________________________________ > jifty-devel mailing list > jifty-devel@lists.jifty.org > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel > -- Best regards, Ruslan. _______________________________________________ jifty-devel mailing list jifty-devel@lists.jifty.org http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel