Hi,
My problem is that the CSS formatting in puppet dashboard does not show up
under apache, but works fine under webrick. This SOUNDS exactly like some
old bugs (9676, 9767), but I've applied all the recommended fixes to no
avail, and at an rate the symptoms are only the same on the surface.
My apache/passenger setup correctly generates all.css with the correct
permissions. It generates the identical file that the webrick server
generates, and with the same file permissions and ownership. When I
explicitly download this file, apache correctly serves the right all.css
file.
BUT it still doesn't work! I get an unformatted web page. My only guess
at this point is that some sort of race condition occurs between the
creation and serving of the file, and the webserver is correctly serving an
empty file, which is then filled in with data several microseconds later.
And when I say "empty", I mean a 66093 byte file with nothing but
nulls in
it, because the web logs always indicate that the correct file size is
being served. But at the same time Safari's web inspector shows that
all.css is totally empty. (Note that firefox and chrome show the same
problem so it's not browser-specific).
I've googled around for ruby/rails/rake/passenger race conditions with
apache and haven't found anything.
The insane part here is that (as far as I can tell) this dynamically
generated file never ever ever actually needs to change unless I
reconfigure or re-install puppet-dashboard. So alternatively if you can
tell me how to just serve this as a plain file not generated by passenger,
that'd make me totally happy right now.
Thanks,
tom
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CANVEBdgHjgSsTrW_VukmKMa6KBtXGzuqX4Xon_g-h-PJ9JE1ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.