Displaying 20 results from an estimated 10000 matches similar to: "Managing requests for static content in WEBrick and Mongrel"
2006 May 19
12
Mongrel/Apache and static content
I''m looking for an easy way to have mongrel only serve dynamic railscontent, while letting Apache serve non-Rails content. Unfortunately,it seems that you have to segregate the static content in its ownfolder. That was also the case with the SCGI runner. I used thetrick outlined athttp://comments.gmane.org/gmane.comp.lang.ruby.rails/23347 to managethis. I was curious if a similar
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But
i don''t understand what part Lighttpd (or Apache) has in the setup. I
know that you can use Mongrel on its own. What does Lighttpd improve
on?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
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
2008 Jan 11
8
How do you run WEBrick under Rails 2.x?
It appears that Mongrel is now the default development server for Rails
as of 2.x.
I''m assuming this because I''m unable to run Mongrel (for reasons I don''t
totally understand yet - I am running Windows and I keep getting asked
for MSVCR80.dll which is a _64 bit_ dll on my Win XP machine) and if I
issue ruby script/server, I see the same errors that I get when I try to
2006 Mar 29
13
Rails on Mongrel
Hi,
After following advice from you good folks, I gave mongrel a try in a
cluster design based on the example on the Mongrel website - and it
worked right out of the box which is great - and it''s very fast :)
I have got a bit stuck though. I have two MS Word files in
/public/files/. I can pull back these files no problem but it isn''t
sending a mimetype.
I think I have two
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to
webrick and mongrel. How can I do this same thing using Lighty and
Mongrel?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
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
2009 Mar 13
7
rails, passenger, and images
Just switched over to passenger for development and production for my
rails app. Liking it so far.
My problem is my image_links, stylesheet_tag_links, and
javascript_tag_links are all adding "http://localhost:3000 to the
generated links. I got around the stylesheet and js links by not using
the helpers.
I can access my all of my assets directly via http://dating.local/stylesheets/all.css,
2006 Jun 12
15
Mongrel Now Recommended Setup?
I see that the RubyOnRails.com site has migrated to Mongrel with Apache as a
front-end proxy.
Is that now the/a recommended setup for Rails apps? We''re still using FCGI
but I''m always interested to learn more about other folk''s successful
deployment choices.
Across all of our sites we''re pumping out about 300k pages per day so
anything that saves memory or has
2006 Jun 26
4
Missing Content-Length header with lighttpd
We have our rails application running using lighttpd and everything
seems fine with Firefox, but when the client is Explorer some media
doesn''t get transferred from the server correctly. With Webrick,
Content-Length is set when a request is made for an mp3 file. Using
Firefox with lighttpd, Transfer-Encoding is set to chunked, so the
Content-Length field isn''t required.
2006 Aug 14
2
Mongrel Cluster 0.2.1- Last Call
Hi all:
Here''s a pre-release for mongrel_cluster to support current Mongrel
0.3.13.4 pre-release.
Changes:
- ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and
''mongrel_rails start''. ''cluster::restart'' now accepts the ''force''
argument instead of ''soft''.
-
2006 Sep 21
5
Static files in public
My question is about the static files in the Rails public folder. These
files should be served by Apache instead of Mongrel, so do I need to
upload these files to Apache''s htdoc''s or will Apache cache them the
first time they are requested from Mongrel... Im not sure how this works?
Many thanks.
2006 Dec 29
9
Error : No protocol handler was valid for the URL...
Hi everybody,
I just suscribe to the list because I have a problem using mongrel and
mongrel_cluster... I setup a server (debian unstable wich provide apache
2.2.3 as a pakage) but I have an error when I try to access my application :
ERROR 403 : Forbidden, You don''t have permission to access / on this
server.
When I check apache''s logs I found that :
[warn] proxy: No
2006 Mar 31
6
Lighty+Mongrel: More than one connection per client?
I have an action which requests another URL from the same site (for
testing purposes), but it keeps timing out. If I use an off-site URL,
the action works fine. I also notice that I''m only able to request one
page at a time from my server - the rest just spin until the previous
requests complete. Is this some setting in Lighty, Mongrel, or my
browser (Firefox - I played around with
2006 Jun 27
9
Mongrel, sit!, good god! -- said Rails core.
Oh well, needed a good subject, sounds funny enough?
http://dev.rubyonrails.org/ticket/5475
Add "automatic" mongrel support to script/server
Status: closed, commited in rev #4486.
That is good news, right?
Ok, back to work, enoguh relax for me ;-)
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of
2006 Sep 21
10
How do you use Mongrel?
Hey folks,
I''m working on the Mongrel book with Zed, and wanted to get some
feedback from the core users (this list) about how they use Mongrel.
That sounds a bit vague, but I''m interested in hearing things about
frustrating problems / workaround, preferred configurations, if you
have a particular way you set up / store your config files when
developing / deploying an
2007 Feb 16
1
static file serving
Hi,
I''ve got 40 mongrels running across 4 machines with a hardware load
balancer as a proxy. The mongrels serve everything, even files.
How screwed am I if I have a 2MB file on my site? Say 40 people are
downloading that file. Are the mongrels completely locked up?
Joe
2006 May 30
5
Implementing HTTPS with WEBrick?
All,
I would like to test some secure pages that I''m developing in my
WEBrick-based development environment.
I''ve done some research and it appears that I need to create a new
command that will start a HTTPS based WEBrick server. Is this correct?
Also, it appears that the https.rb module is not included with the
WEBrick bundled in Rails. So, I will need to go get that
2007 May 02
2
Routing to a static resource in Mongrel
All,
I would like to set up a route that causes a static "index.html" file
(in the "public" directory) to be served on a request to an empty URL
path (i.e. map.connect '''', ...).
Can I do that with Mongrel? Basically, I want the ability to do in
Mongrel what I will end up doing in Apache with a rewrite directive.
Thanks,
Wes
--
Posted via
2006 Jul 07
3
Mongrel & irbrc
Why does mongrel_rails insist on loading ~/.irbrc with each request?
a) I''m curious why it loads it at all (I assume there''s no way of
getting an inline breakpointer??)
b) Why re-load it? It causes problems with any constants that are
used in .irbrc... (alternatively, how do I avoid re-assigning to a
constant?)
Jon
-------------- next part --------------
A non-text