similar to: mongrel_in_a_tunnel

Displaying 20 results from an estimated 900 matches similar to: "mongrel_in_a_tunnel"

2008 Feb 07
2
Catching non-Merb::ControllerExceptions Exceptions
Is there an agreed upon method for handling exceptions thrown by something outside of Merb? For example, DataMapper now throws a DataMapper::ObjectNotFoundError when a record isn''t found in the db. I''d like to catch these exceptions and raise a C:E:NotFound exception instead, but without having to wrap a lot of code in begin/rescue/end blocks. Thanks, Mike Irwin
2007 Sep 22
9
skeleton and configs
Hi people, just thought I''d mumble out my thoughts on merb''s apps directory structure and config concepts and see what other people are feeling... the app dir: mvc/application is layed out as expected....maybe without the mailer by default (another discussion) the config dir: I really think that it''s confusing to have such a mixture of ways to configure some
2007 Sep 21
3
merb 0.4.0 - redirect problems
I had redirects working just the other day... before I upgraded to the latest release. Can somebody please chime in as to why this simple redirect is throwing an error? Controller: ----------------------- def do redirect "http://www.ebay.com" end Error Output: ------------------------- Internal server error 500 uninitialized constant Merb::ControllerMixin::MovedTemporarily in
2007 Mar 13
5
Getting Started without Rails
Hi, everyone. I am in the process of learning Ruby. I''ve concluded that there are couple of quirks with mod_ruby that are limiting me a fair bit, so I''m looking for an alternative. From what I''ve read, Mongrel is The Answer. However, this has left me with a few questions. I''m looking for some help getting a non-rails Mongrel started... I can''t
2008 Jan 10
1
Merb constants
the constants update (http://pastie.caboo.se/137630) is cleaner... but... am I right in thinking that rake tasks are now a bit buggered? Looks like a search/replace was performed, but its now impossible to set an environment for rake tasks? chrisfarms -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Nov 16
9
Challenge
The original: http://pastie.textmate.org/private/lqvrlyyvkv2kbugoxtiz6w Send your submissions to me by email or on #merb. I''ll blog it, and pick a winner. The winner does not mean it makes it into Merb, just means I personally like it best. But it might make it into Merb. # Scenario: # You have a simple application that lists all the monkeys at the zoo. # Every monkey has a
2006 Jun 13
1
mongrel_upload_progress & plugin question in general
Hello, So, I grabbed the mongrel_upload_progress code from subversion because I really need something similar for a project I am working on. Anyway, I installed the gem and can''t figure out a few things. 1) I''m not sure what Upload < GemPlugin::Plugin "/handlers" is for 2) How to call the Progress < GemPlugin::Plugin "/handlers" handler. While I
2006 May 30
1
Error in mongrel_rails script with Cygwin/Mongrel/Rails
Hi, I am experiencing an error in the mongrel_rails script on a pc under cygwin/mongrel/rails. My installation details and error are as follows: With some guidance from various blogposts out there, I installed Cygwin on a Windows XP box followed by: Ruby 1.8.4(via cygwin setup), Gems (0.8.1 via ruby install.rb), Mongrel .3.12.4 (via gems), Rake 0.7.1(via gems, GemPlugin (via gems), Rails (via
2006 Dec 20
2
OSX Dashboard Widget for managing mongrels...
Hey everyone - I recently switched to using a Mac and have several different rails projects going and was getting tired of starting/stopping mongrels via the shell so wrote my first dashboard widget to do it for me. More details at the URL below... http://blog.pjkh.com/2006/12/20/mongrel-rails-dashboard-widget Hope those of you on OSX find it handy... feels good to finally give something
2007 Oct 13
1
Formatted Routes?
Is anyone using formats with the url generator in trunk? I can''t figure it out and it seems to be unimplemented in the router code. I want to do something like url(:articles, :format => "xml") # => /articles.xml or url(:formatted_articles, :format => "xml") -- Geoffrey Grosenbach ........................ PeepCode Screencasts http://peepcode.com
2007 Dec 13
1
How to set response code
Hi ! I''m trying to return a simple 201 Created status to the caller, but I can''t seem to do it. I use curl from the command line with the --verbose option, and the response is really 200 OK. My controller code: class Observations < Application def create(feature, node, observation_type) # Do some work... response.status = "201 Created"
2006 May 30
2
x-sendfile
I wrote an x-sendfile thing for the railshandler to get mongrel to catch the response header and stream out files from an application I''m writing but I''m pretty sure that zed said he''d built in x-sendfile somewhere already. I couldn''t find it, could someone lead me to it? Does mongrel work with SSL? If not is anyone interested in having someone write in SSL
2007 Sep 17
2
Why do we check for the controller file?
I remember having this discussion on IRC before, so Ezra if you could remind me that would be appreciated: Why do we check for the existence of the controller file in (what is now) Request#controller_class? The reason I ask is that I would like to implement some sort of "Rails engine" like features for gem plugins--in other words, drop in a gem that has controllers/views etc.
2006 Oct 22
7
GzipFilter gemplugin now available
This GemPlugin will gzip your HTTP responses from mongrel if the client says that it supports it (eg, most modern browsers). I''ve tested it in IE6, Firefox 1.5 and Firefox 2.0RC3 Install: gem install gzip_filter --source http://edenli.com Configure (assuming rails): cd RAILS_ROOT echo ''uri "/", :handler => plugin("/handlers/gzipfilter")''
2007 Sep 19
4
Ticket #190 (friendlier way to add / register a mime type)
Following up on #190 [1], I''ve just added a simple patch that allows the manipulation of the TYPES hash from within the Merb module. Use like: Merb.add_mime_type(:png,%w[image/png]) Merb.remove_mime_type(:png) It specifically disallows the removal of the :all MimeType, since content negotiation relies on it. I''m not super wonderful at API design, so comments and
2006 Aug 25
2
really a GemPlugin/mongrel_cluster question
Hi folks, I''d like to run the Mongrel prerelease (0.3.13.4 prerelease) and mongrel_cluster 0.2.1 on my shared host (which doesn''t want to install prerelease software for all to use). I can install the gems in my own directory, and run mongrel 0.3.13.4 with --prefix just fine. However, I think due to the GemPlugin structure, even my new mongrel_rails loads up
2015 Dec 23
1
Starting stunnel on boot with CentOS7
Hmmm, you obviously know a lot more about systemd than I do, I'm going to have to look at what you posted more carefully. Thanks. ----- Original Message ----- From: "James Hogarth" <james.hogarth at gmail.com> To: "CentOS mailing list" <centos at centos.org> Sent: Wednesday, December 23, 2015 4:08:31 AM Subject: Re: [CentOS] Starting stunnel on boot with
2015 Dec 23
0
Starting stunnel on boot with CentOS7
On 23 December 2015 at 05:38, Kahlil Hodgson <kahlil.hodgson at dealmax.com.au> wrote: > On my CenOS7 system with stunnel from base > > stunnel-4.56-4.el7.x86_64 > > there's a systemd service file > > /etc/systemd/system/stunnel.service > > try > > sudo systemctl enable stunnel.service > > > Packaged unit files are in
2004 Aug 16
0
Howto setup SLES 9 w/Samba 3.04 in a Domain & SSL SWAT
I'd imagine document will answer many prayers for stumped admins These are my notes to setup SuSE Linux Enterprise Server v9 and how to configure Samba v3.04-SuSE to work as a member server in a domain Also, this document contains FULL instructions on how to setup SSL Secured SWAT (Samba Web Administration Tool) This document is a step by step guide to installing SLES and Samba. Of course
2013 May 01
5
Is there a good nntp client for Centos 6 that handles SSL native?
Is there a good nntp client for Centos 6 that handles SSL native? It was difficult, to say the least, on Centos anyway, to get Pan to post to Mixmin servers, which require SSL (so we have to use Stunnel to add SSL capabilities to Pan) on Centos. Had Pan native SSL support, this wouldn't have been a problem. Hence the question: Q: Is there a good freeware NNTP client with a Centos