Clinton R. Nixon wrote: > On Tue, Jul 28, 2009 at 12:18 PM, Jørn Schou-Rode<jsr at malamute.dk> wrote: > > I have a site running Radiant 0.8 with the head revision of the SNS > > extension from the "radiant" hub, and I am experiencing a problem with > > assets only being deliveried correctly to every second request. > > > > When I navigate directly to my main stylesheet[1] in my browser, I get > > the stylesheet or a completely blank screen (with Content-Length: 0 in > > the HTTP headers). Pressing F5 to redo the request, I get the opposite. > > Every second request gives my the stylesheet, every other a blank > > response. > > > > Does anyone know whats going on? How I done something wrong in my setup? > > I am having the same problem, but have not investigated it. If I find > anything, I'll let you know.
I was having this trouble using Radiant 0.8 with Passenger when viewing the site with Safari 4 or Opera 9. (Safari 3 and Firefox didn't exhibit the problem behavior). The problem would go away if I used Mongrel. I also found that the problem would go away if I used Passenger with Apache mod_xsendfile installed. Steps to install and configure are below: # on the server, as root wget http://tn123.ath.cx/mod_xsendfile/mod_xsendfile-0.9.tar.gz tar zxvf mod_xsendfile-0.9.tar.gz cd mod_xsendfile-0.9 apxs -cia mod_xsendfile.c # add to your VirtualHost directive XSendFile on XSendFileAllowAbove on # activate in config/environment.rb config.middleware.use(::Radiant::Cache, {:use_x_sendfile => true}) Regards, Gus _______________________________________________ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant