From erik at ruby-lang.nl Wed Aug 1 05:42:15 2007 From: erik at ruby-lang.nl (Erik Terpstra) Date: Wed, 01 Aug 2007 11:42:15 +0200 Subject: Restarting Lighttpd for each change? Error logging? In-Reply-To: <46AF4733.6030007@ruby-lang.nl> References: <46AF4733.6030007@ruby-lang.nl> Message-ID: <46B05577.6050103@ruby-lang.nl> 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 > > From manfred at gmail.com Wed Aug 1 06:03:49 2007 From: manfred at gmail.com (Manfred Stienstra) Date: Wed, 1 Aug 2007 12:03:49 +0200 Subject: Restarting Lighttpd for each change? Error logging? In-Reply-To: <46B05577.6050103@ruby-lang.nl> References: <46AF4733.6030007@ruby-lang.nl> <46B05577.6050103@ruby-lang.nl> Message-ID: <1724EDF3-314F-4D24-B90B-8D58753291AF@gmail.com> 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 From erik at ruby-lang.nl Wed Aug 1 06:12:28 2007 From: erik at ruby-lang.nl (Erik Terpstra) Date: Wed, 01 Aug 2007 12:12:28 +0200 Subject: Restarting Lighttpd for each change? Error logging? In-Reply-To: <1724EDF3-314F-4D24-B90B-8D58753291AF@gmail.com> References: <46AF4733.6030007@ruby-lang.nl> <46B05577.6050103@ruby-lang.nl> <1724EDF3-314F-4D24-B90B-8D58753291AF@gmail.com> Message-ID: <46B05C8C.2020801@ruby-lang.nl> 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. From manfred at gmail.com Wed Aug 1 06:29:05 2007 From: manfred at gmail.com (Manfred Stienstra) Date: Wed, 1 Aug 2007 12:29:05 +0200 Subject: Restarting Lighttpd for each change? Error logging? In-Reply-To: <46B05C8C.2020801@ruby-lang.nl> References: <46AF4733.6030007@ruby-lang.nl> <46B05577.6050103@ruby-lang.nl> <1724EDF3-314F-4D24-B90B-8D58753291AF@gmail.com> <46B05C8C.2020801@ruby-lang.nl> Message-ID: 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. From francisco.cabrita at gmail.com Mon Aug 6 18:43:06 2007 From: francisco.cabrita at gmail.com (Francisco Cabrita) Date: Mon, 6 Aug 2007 23:43:06 +0100 Subject: authentication question Message-ID: Hi all Is there another gem to "manage" logins beyound Equipment (basic login/security) to use under Camping? I have already readed the basic_auth.rb and security.rb but is there some app I can see it working as an example?! Thanks in advance Francisco PS: keep the great job with Camping :) From manfred at gmail.com Mon Aug 6 18:51:39 2007 From: manfred at gmail.com (Manfred Stienstra) Date: Tue, 7 Aug 2007 00:51:39 +0200 Subject: authentication question In-Reply-To: References: Message-ID: <8D7222B5-E94C-4504-BA9E-49C66CD52091@gmail.com> On Aug 7, 2007, at 12:43 AM, Francisco Cabrita wrote: > Hi all > > Is there another gem to "manage" logins beyound Equipment (basic > login/security) to use under Camping? > > I have already readed the basic_auth.rb and security.rb but is there > some app I can see it working as an example?! I use basic authentication in my blogging app: https://dwerg.net/svn/cushion/trunk/ Manfred From francisco.cabrita at gmail.com Mon Aug 6 19:04:55 2007 From: francisco.cabrita at gmail.com (Francisco Cabrita) Date: Tue, 7 Aug 2007 00:04:55 +0100 Subject: authentication question In-Reply-To: <8D7222B5-E94C-4504-BA9E-49C66CD52091@gmail.com> References: <8D7222B5-E94C-4504-BA9E-49C66CD52091@gmail.com> Message-ID: Hey many thanks Manfred, I'm gona checkout your blog engine Regards Francisco On 8/6/07, Manfred Stienstra wrote: > > On Aug 7, 2007, at 12:43 AM, Francisco Cabrita wrote: > > > Hi all > > > > Is there another gem to "manage" logins beyound Equipment (basic > > login/security) to use under Camping? > > > > I have already readed the basic_auth.rb and security.rb but is there > > some app I can see it working as an example?! > > I use basic authentication in my blogging app: > > https://dwerg.net/svn/cushion/trunk/ > > Manfred > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -- blog: http://sufixo.com/raw From _ at whats-your.name Mon Aug 6 19:16:30 2007 From: _ at whats-your.name (cr) Date: Mon, 6 Aug 2007 23:16:30 +0000 Subject: No subject In-Reply-To: References: Message-ID: <20070806231630.GA4532@replic.net> On Mon Aug 06, 2007 at 11:43:06PM +0100, Francisco Cabrita wrote: > Hi all > > Is there another gem to "manage" logins beyound Equipment (basic > login/security) to use under Camping? not a gem, but check Peglist, for an example of an OpenID consumer: http://opus.winelibrary.com/peglist/trunk/ From evan at cloudbur.st Wed Aug 8 04:13:21 2007 From: evan at cloudbur.st (Evan Weaver) Date: Wed, 8 Aug 2007 04:13:21 -0400 Subject: Rv 3 released, with cluster support Message-ID: Hey Campers, Ditch that pup-tent for Camping deployment. Maybe. Either way, drive around in Rv 3, newly released *right at this moment*. Rv A little init.d system for running Camping apps, for Linux. Features * cluster support * custom database configuration * interactive setup tasks * logging Full documentation and instructions at: http://blog.evanweaver.com/files/doc/fauna/rv/ Evan -- Evan Weaver Cloudburst, LLC From evan at cloudbur.st Wed Aug 8 15:22:39 2007 From: evan at cloudbur.st (Evan Weaver) Date: Wed, 8 Aug 2007 15:22:39 -0400 Subject: Rv 3 released, with cluster support In-Reply-To: References: Message-ID: Rubyforge is having some mirroring problem with the gem. For now, download it from here: http://blog.evanweaver.com/files/rv-3.gem Thanks Evan On 8/8/07, Evan Weaver wrote: > Hey Campers, > > Ditch that pup-tent for Camping deployment. Maybe. Either way, drive > around in Rv 3, newly released *right at this moment*. > > Rv > > A little init.d system for running Camping apps, for Linux. > > Features > > * cluster support > * custom database configuration > * interactive setup tasks > * logging > > Full documentation and instructions at: > http://blog.evanweaver.com/files/doc/fauna/rv/ > > Evan > > -- > Evan Weaver > Cloudburst, LLC > -- Evan Weaver Cloudburst, LLC From daaku6-nl at yahoo.com Fri Aug 10 03:58:42 2007 From: daaku6-nl at yahoo.com (Naitik Shah) Date: Fri, 10 Aug 2007 00:58:42 -0700 Subject: Reloader, Mounts, FastCGI Message-ID: <20070810075842.GB16728@schoolhold-lm.lan> I'm trying to figure out how to get the Reloader to work with this kind of a setup: (from http://camping.rubyforge.org/classes/Camping/FastCGI.html) --- require 'camping/fastcgi' fast = Camping::FastCGI.new fast.mount("/blog", Blog) fast.mount("/tepee", Tepee) fast.mount("/", Index) fast.start Tried a bunch of different variations of the Reloader including trying to use the find_app method with no luck. In most variations I don't get any errors, but the reloader doesn't kick in when I modify files. Anyone know how it can be done? -Naitik From lists at tipogral.hu Sun Aug 12 04:51:53 2007 From: lists at tipogral.hu (Nagy Bence) Date: Sun, 12 Aug 2007 10:51:53 +0200 Subject: Session + Redirect trouble Message-ID: <46BECA29.4080403@tipogral.hu> Dear Campers, I have created a small social network site using Camping, it is located at http://dekk.hu/ (it is in hungarian). The authentication part of the application is written so as I saw in other applications (@state.user_id = @user.id; redirect Index) But some user has problem with the login process, sometimes the app let them in only for the second time, sometimes never. Maybe cookies and redirection do not work the same time (on my machine is everything fine, Ubuntu and Firefox has no problem). I have made a user for testing purposes (username: test, password: test). So, please, give it a try, if the failure exists on your machine (the login fields are on the right side, "Felhaszn?l?" = "User", "Jelsz?" = "Password"), or let me know if somebody has already a solution... Greetings, Bence -- Nagy Bence -> Tipogr?l | www.tipogral.hu -> Dekk | www.dekk.hu -> H?rkapu | www.hirkapu.hu From walkandre at gmail.com Mon Aug 13 14:36:06 2007 From: walkandre at gmail.com (=?ISO-8859-1?Q?andr=E9_gustavo_cardozo?=) Date: Mon, 13 Aug 2007 15:36:06 -0300 Subject: jruby + camping Message-ID: <8e46cad20708131136y74f91d65l6863d39b9be18eac@mail.gmail.com> CodeHaus has a great introduction of jruby running camping. looks really nice to have this kind of integration http://jruby.codehaus.org/The+JRuby+Tutorial+Part+2+-+Going+Camping -- Andr? G. Cardozo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20070813/596265f1/attachment.html