similar to: Difference between mongrel and webrick handling request.request_uri

Displaying 20 results from an estimated 10000 matches similar to: "Difference between mongrel and webrick handling request.request_uri"

2011 Mar 16
0
Making Mongrel/WEBRick serve static assets with future expires header
I''m creating a Rails application which will be deployed to desktop machines, running both the webserver and the browser (it''s a test- taking application which needs to be able to run without an internet connection). For this reason, I''ll be running Mongrel or WEBRick, without an Apache/ Nginx in front of it as you would normally do. The browser will access the Mongrel
2006 Nov 04
0
page caching urls with space characters broken in webrick and mongrel
Page caching of urls with spaces in them using WEBrick and Mongrel is broken in Edge Rails (and Rails 1.1.6, where I started). This is due to the dispatch flow of control in both servers converting ''+'' in requested paths into '' '' chars, whereas the page caching system writes cache files for URLs with spaces in them out as encoded ''+''
2007 Dec 15
1
script/server hangs webrick and mongrel
When I script/server, both webrick and mongrel hang until I ctrl-c. If I''m using webrick, it will start normally, but if I''m using mongrel it will appear to start and then hang again. Any idea why this behavior? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2011 Jan 25
1
What's new about the Webrick/Mongrel situation ?
Hi, I''ve just finished James Turnbull book "Pulling Strings With Puppet" - which definitely an excellent introduction to Puppet, and I was wondering - as the book is a couple years old, what was the status of the all mongrel/webrick situation ? I guess it''s still recommended to use Mongrel rather than Webrick for puppetmaster, at least for 0.25.5 (which I''m
2006 Sep 25
2
Managing requests for static content in WEBrick and Mongrel
All, Is there a way to set things up so that requests for static files in either WEBrick or Mongrel will just cause a regular HTTP request and not cause the dynamic routing-based invocation to occur? I had an issue where a request for a missing .js file was causing another request to be registered, thus blowing away my flash data. I tried to do this in my routing file, but I don''t
2008 Sep 16
0
POST parameters incorrectly appended to REQUEST_URI
My rspec controller tests are appending POST params to the request_uri as though they are GET variables. So this line: post :create, :foo => ''bar'' Generates a request_uri that looks like this: my_restful_controller?foo=bar However when performing the same action from the actual application, the params are not appended to the request_uri (as expected). Looks like this
2006 Dec 14
1
Does send_file act differently with Mongrel than with Webrick?
Mongrel 0.3.13.3 Windows XP Rails 1.1.6 I have a rails app that serves up mp3 files via the send_file command. We create a playlist (M3U) with URLs to the mp3s. These play just fine using Windows Media Player. However using WinAmp we get an error "error syncing to stream" when it tries to request the mp3. After playing around I found that if I am running Rails under Webrick WinAmp
2006 Feb 03
3
Mongrel HTTP Library 0.2.2 (Serving Directories)
Hey Folks, Another announcement of Mongrel -- the fastest little web server library for Ruby yet. This release is nice in that it should build on win32 better and it now sports a small DirHandler that can serve directories and files. This means Mongrel is closer to replacing WEBrick as a Rails debug runner. You can get the releases and information from: *
2007 Aug 07
1
Can't start WEBrick or Mongrel server
After having successfully created and run a few RoR test projects via RadRails in MyEclipse, I imported one from an Oracle tutorial (http:// www.oracle.com/technology/pub/articles/saternos-rails.html?_template=/ocom/print), showing how to deal with a legacy Oracle database. Unfortunately, after having configured database.yml, I get the following error message when I attempt to start either a
2008 Sep 17
0
memory leak? shows up in mongrel, not webrick
I''ve got an app that iterates through an array of 1000+ ActiveRecords in order to support quick AJAX filtering. When the app is running on mongrel(s), this process makes the RAM usage go through the roof (i.e., adding 50MB per iteration) and the usage never goes back down. Running on webrick, the app stabilizes at around 70MB and never goes higher no matter how many times I iterate
2006 Oct 31
3
works with webrick,lighty, not mongrel
Hello, I''ve been working away to setup mongrel as my production server, however I am running into an odd problem and am not sure where to investigate for the answer. When I run using mongrel_rails start most things work fine, but a I get a few inexplicable undefined method errors, for example: undefined method `send_qbxml'' for #<Sync:0x2aaaafa7aa78> The method is
2006 Feb 05
2
request.request_uri in production environment?
Hi, What''s the problem with this line? <%= ''height="750" valign="top"'' if request.request_uri =~ /survey_result/i %> No problem with development environment but when uploading to server I get application error. And is there a better way to do this? Thanks
2006 Aug 08
0
0.3.13.4 Pre-Release -- Almost Ready
Hi folks, I just put a pre-release of Mongrel up for people to try. You can install it with: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ And try out your application and confirm the stuff works. USE RFUZZ AND RUBY If you find a bug, I''d appreciate it if you can go grab RFuzz (or use net/http) and work up a little bit of Ruby that demonstrates the bug. If
2006 May 15
0
Execution expired with MONGREL. No problems with webrick
After my action has run for about 2 minutes i always get a timeout. It doesn''t happen with WEBRICK. As far as i can see there is nothing wrong with the code "execution expired RAILS_ROOT: config/.. Application Trace | Framework Trace | Full Trace /opt/tools/lib/ruby/1.8/timeout.rb:54:in `clone_attributes''
2007 Jun 10
0
pb when posting to an action "render_text body, :status => 400"
Hi, I''m trying to do a little openid-server in rails. I encounter a very strange problem for me, you can see all the story in the openid mailing-list : http://lists.openidenabled.com/pipermail/dev/2007-May/000666.html http://lists.openidenabled.com/pipermail/dev/2007-June/000700.html In short, the problem is : the server has to do a "render_text body, :status => 400"
2013 Sep 04
7
Shift from mongrel to webrick
Hi Everyone I have installed mongrel gem and in my dev I can able to run my app on mongrel but If I want to shift to webrick how can I shift easily with out uninstalling the mongrel gem Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send
2005 Mar 08
15
Rails 0.10.1and WEBrick
Doesn''t appear to work with WEBrick. Works find with Apache/FastCGI. Something wrong in the way Rails is trying to process paths from the WEBrick server. If I try to send in http://localhost:3000/recipes/new, WEBrick is interpreting /new as my controller, instead of my action.
2006 Aug 11
6
Running some code right before the app is available to users
I do some indexing using acts_as_ferret in a rails app. I need to do some preloading of the index''s sort fields so that the first request that sorts doesn''t take 5 minutes to complete. I tried sticking my preload code in config/environment.rb and that worked but it gets ran in rake migrations, tests, etc, when it''s not really needed. Is there anything specific to
2011 Jan 10
0
UTF-8 routes.rb and Passenger vs. Mongrel/WEBrick
My (Rails 3) routes.rb has the following entry: resources :articles, :path => "記事" This works in my production environment, as passenger unescapes the path from /%E8%A8%98%E4%BA%8B to /記事. However, in my development environment, I''m using Mongrel, which does not unescape the path, so it does not work unless I change my routes to resources :articles, :path =>
2010 Apr 26
2
woriking under webrick but not under passenger
Hi! I have just added login feature to my rails application (followed the instruction from (Agile Web Development with Rails) but now I am getting strange errors (looks to me like some kind of routing problem) under the passenger/apache. The error is: 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. From the log: