Hi, It seems that for each change that I make in my camping application, I have to restart lighttpd to make it work. Also whenever something goes wrong, a syntax error in my camping application for example, things just stop working and I can''t see any error messages in the lighttpd logs or any other log. I just followed the instructions to use Camping with lighttpd on the wiki. Any ideas? Erik.
To answer my own question, it seems that the requirement to restart after each change is only the case for fast-cgi. Also lighttpd behaves very unpredictable to me, so I am now using a Mongrel/Camping + Apache/ProxyReverse combination which seems to work much better. Erik Terpstra wrote:> Hi, > > It seems that for each change that I make in my camping application, I > have to restart lighttpd to make it work. > > Also whenever something goes wrong, a syntax error in my camping > application for example, things just stop working and I can''t see any > error messages in the lighttpd logs or any other log. > > I just followed the instructions to use Camping with lighttpd on the wiki. > > Any ideas? > > Erik. > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > >
Manfred Stienstra
2007-Aug-01 10:03 UTC
Restarting Lighttpd for each change? Error logging?
On Aug 1, 2007, at 11:42, Erik Terpstra wrote:> Mongrel/Camping + Apache/ProxyReverse combination which seems to work > much better.You can also use mongrel directly in development, that way you don''t have to go through Apache. Just camping myapp.rb and hit http:// localhost:3301/. Manfred
Manfred Stienstra wrote:> You can also use mongrel directly in development, that way you don''t > have to go through Apache. Just camping myapp.rb and hit http:// > localhost:3301/. >I know, but I have a lot of static files to serve with a relatively complex directory structure with alias directives to put them in the right place. Or is there an easy way to serve static files from mongrel? Or even things like gzip compression, https etc. Erik.
Manfred Stienstra
2007-Aug-01 10:29 UTC
Restarting Lighttpd for each change? Error logging?
On Aug 1, 2007, at 12:12, Erik Terpstra wrote:> Or is there an easy way to serve static files from mongrel? Or even > things like gzip compression, https etc.No, not really. You can write your own mongrel handlers and make it happen, but I guess it would be a lot of effort just to copy Apache''s behaviour.