similar to: Overriding ServerError?

Displaying 20 results from an estimated 4000 matches similar to: "Overriding ServerError?"

2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying to force one of them, blog.rb, to run as the index (''/''). I think that I understand the RDoc as stating that I can execute the following to make that happen: Camping::FastCGI.serve File.expand_path(current), Blog But, when doing so, I recieve the following error: Camping
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb 23 sudo mv camping-unabridged.rb camping.rb when running into problems, the abridged version of camping is rather difficult to debug. so I''m moving to unabridged, but I''m getting this error. [Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2006 Jul 17
3
Where are the balloons ?
Just for information, the Balloons site (http://balloon.hobix.com) raises an Camping error. I tried to blow a balloon (''blow blow'') and the answer is "balloon not found". Seems that the MySQL server has crashed ! _why, will you get some time to fix this ( or is it due to temporary maintenance) ? BTW, Camping would be nice to develop a small ''rescue
2006 Jul 18
4
intro
Hi !!! I''ve just seen this message on http://redhanded.hobix.com/inspect/theCampingServer.html I''d really like to see distributions offer a package which would allow simple setup of TheCampingServer, just as you see with PHP. If you''re interested in seeing this happen for the upcoming Camping 1.5 release, introduce yourself on the
2007 Sep 25
16
putting away HashWithIndifferentAccess
Hey, campineros. And many good handshakes to zimbatm for getting some patches applied. So, yeah, I''d really like to get rid of any serious dependancies with this 1.6 release. Anything that''s not in stdlib has to go. Of course, camping-omnibus will still assume the whole ActiveRecord, Markaby, Mongrel setup that''s in the history books. Metaid can be removed and
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache, both running FastCGI. I''m going to explain the configuration, but first: update. gem install camping --source code.whytheluckstiff.net == Mounting Root for Lighttpd+FastCGI == server.port = 3045 server.bind = "192.168.0.103" server.modules = (
2008 Jan 10
14
Keeping Camping going
Hello all, I''m not sure who Camping''s steward is at this point(zimbatm? _why?), but I haven''t seen much activity in quite some time. I really like Camping, and I understand open source projects can fall by the wayside. So, I''d be willing to take over maintenance and releasing. I have experience maintaining my own open source projects, and a history of
2006 Jul 18
3
+ camping 1.4.138
Just up: gem install camping --source code.whytheluckystiff.net The changes: * Both bin/camping and Camping::FastCGI.serve now act according to the Camping Server specification.[1] * Docs are complete. _why [1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2007 Jul 07
0
logging errors
Looking over the ServerError code there is no built in way to tell camping to log its errors is there? I suppose the answer it to instantiate a logger, inherit ServerError, call super and pass the return into the logger? If we using fcgi on production, does the ServerError get called, or only the server_error in fcgi.rb? Mainly I''m wondering if there is just one place I can handle
2006 Feb 21
6
+ camping/session
Camping now comes with a sessioning class, checked in tonight. To get sessions working for your application: 1. require ''camping/session'' 2. include Camping::Session in your application''s toplevel module. 3. In your application''s create method, add a call to Camping::Models::Schema.create_schema 4. Throughout your application, use the @state
2008 May 21
32
Rack, Camping 2.0++
=== 1. Camping on Rack === I''ve just finished rewriting Camping to use Rack in the "core". I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb & mongrel.rb). bin/camping does now only provide WEBrick, Mongrel and console-support and should only be used in development. It uses Rack::ShowExceptions to catch
2006 Oct 22
3
Date Helpers?
Does anyone have any ideas off the top of there head how to easily construct a date helper as one would see in Rails? Thanks, Michael Gorsuch http://www.styledbits.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20061022/7dda5a52/attachment.html
2007 Jan 10
2
Dream Ledger
Hello Fellow Campers, I''m feeling crazy tonight and thought I''d go ahead and announce my new little project riding on the Camping framework: Dream Ledger (http://www.dreamledger.com). The app was written to scratch a personal itch, which is the simple fact that I wanted an easy way to record my nightly dreams and sleep experiences. Think about it as ''dream
2007 Sep 23
12
Next camping release
Dear camping users, having been contacted by Julian Tarkhanov, I am willing to prepare the next camping release. _why has given me his friendly approval, with the reserve that camping.rb should be lower than 4k. He also told me that he wanted to remove the ActiveSupport and Markaby dependencies. I am writing here to get the users input so that I don''t do any mistake. So far, my plans
2007 Jan 22
4
Postamble vs campingrc
Hi, Should I be able to use the Webrick postamble instead of using .campingrc, to tell Camping I want to use mysql? It doesn''t seem to be working for me. It does work however, when I''m using FastCGI (establish_connection :adapter => ''mysql''). James
2007 Mar 12
3
threading and concurrency
hello all. ive come to the point where im thinking about deploying my ''rails on rails'' app-development solution built in camping. mainly, im wondering what the barriers to thread-safety are. for db, i use redland, and afaik it spawns a single db connection for each find, and keeps a pool around to reuse. iow, no ActiveRecord. are class-vars a problem? theres one that
2006 Jul 25
4
about PATH_INFO and FastCGI
in one of my recent email, I add .to_s to PATH_INFO in camping code. actually, this is probably very wrong. the problem is probably something like PATH_INFO does not exist when using FastCGI. I have not done all my homework, but so far what I found is lighttpd has a special option "broken-scriptfilename": breaks SCRIPT_FILENAME in a wat that PHP can extract PATH_INFO from it (default:
2006 Nov 25
5
Newline problem
Hello all, Recently I have started writing some small package apps. The main app I''m working on at the moment is Camping/Photos[1]. Here I use a controller to serve static files (Theme[3]) that I have copied from [2]. There seems a problem however, when using this via lighttpd. All files that get served (via photos-dispatch.rb) get an extra ''\r\n'' in front. This
2007 Apr 19
4
Save sessions on file system instead of database table?
Hi Is there a way to save session data on the file system (like in Rails) instead of a database table? The reason I''m asking is, that I''m writing a Camping application without using ActiveRecord (mostly for learning purposes) and I don''t want to use ActiveRecord just for sessions. Thanks, Thomas -------------- next part -------------- A non-text attachment was
2008 Jun 03
8
@@state_secret
I was having some issue getting the class variables in Camping::Session to work with some old apps, so I''ve changed @@state_secret to a method. module Blog include Camping::Session def state_secret; "kxxxx" end end Also, merged some of zimbatm''s patches. And trying to revive the Junebug wiki <http://github.com/why/junebug> since it''s still