Displaying 20 results from an estimated 10000 matches similar to: "MIME case-sensitivity"
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring..
uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2006 Dec 19
1
mongrel_config has no output
I am not sure what i am doing wrong here, but no matter what i try i get no
output from mongrel_config:
$ mongrel_rails configtool
$ telnet localhost 3001
Trying 127.0.0.1...
Connected to localhost.
Escape character is ''^]''.
GET /config/ HTTP/1.1
HTTP/1.1 200 OK
Connection: close
Date: Tue, 19 Dec 2006 05:33:16 GMT
Content-Type: text/html
Content-Length: 0
Connection closed by
2006 Aug 07
1
DirHandler in surplus slashing / unrequited unescaping
im using Mongrels to serve up /usr/portage/packages for other gentoo boxen. since i guess im the guinea pig with the DirHandler, ran into a couple issues:
first, the client showed no files in the remote binhost, turns out the DirHandler was adding a trailing "/" to every filename, presumably making the client think they were directories, not files. attached is a patch which fixes this
2006 Mar 28
1
Mongrel Web Server 0.3.12 -- Updated, Getting Closer
Everyone tracking the Mongrel 0.3.12 pre-release should dump their current
install and re-install:
$ gem uninstall mongrel
$ gem uninstall gem_plugin
$ gem install mongrel --source=http://mongrel.rubyforge.org/releases/
This release fixes a problem with specifying a directory to change to, and
fixes the incredibly broken DirHandler code from last night.
The big change people will probably
2006 Apr 08
1
Mongrel 0.3.12.4 Pre-Release -- Please Test (Not Win32)
Morning Folks,
I have a pre-release of Mongrel 0.3.12.4 up on the releases site that I''d
appreciate everyone testing out. This release fixes the following:
* Corrects the date format returned so that months are three chars only.
* Fixes a problem where DirHandler wasn''t returning Last-Modified and Etag
headers for unknown MIME types.
* Implements a default mime type for
2007 Apr 20
2
order of registering uri''s matters for URIClassifier ?
Hi all,
I''m playing around with mongrel handlers and I came across a behaviour
that seems abnormal to me with regard to the Configurator#uri calls. It
appears that order matters.
For instance:
...
listener do
uri "/icons", :handler => DirHandler.new("/var/www/icons")
uri "/", :handler =>
2006 Mar 22
0
0.3.12 Pre-Release Gems Available
Hi Folks,
I''d love for everyone to grab the 0.3.12 pre-release gems from
http://mongrel.rubyforge.org/releases/ and tell me if their stuff breaks.
You can get it with a simple:
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
This release features the following goodies:
* The -n and -t options to mongrel_rails start have changed in meaning to be
the maximum number
2006 Apr 10
1
Mongrel Web Server 0.3.12.4 -- Relaxed Parser, Date Fix
Hello Everyone,
Just a small announcement for Mongrel 0.3.12.4 which fixes the following
things:
* Corrects the date format returned so that months are three chars only.
* Fixes a problem where DirHandler wasn''t returning Last-Modified and Etag
headers for unknown MIME types.
* Implements a default mime type for anything it doesn''t know about, and
lets you set it via an
2003 Aug 26
3
matching-case sensitivity
Hi All,
I am trying to match two character arrays (email lists) using either
pmatch(), match() or charmatch() functions. However the function is
"missing" some matches due to differences in the cases of some letters
between the two arrays. Is there any way to disable case sensitivity or is
there an entirely better way to match two character arrays that have
identical entries but written
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:
*
2006 Apr 11
0
Large file support (up and down) for Mongrel 0.13.3
I''ve just checked in changes to improve handling of massive posts and
massive downloads. Generally speaking, Mongrel has been keeping
everything in memory. (Unless you''re using DirHandler and have the
sendfile gem in place.) Now, downloads should be pretty swift even
without the sendfile gem.
HttpResponse#send_file rips out the file streaming support from
DirHandler and
2006 Apr 10
0
Mongrel Web Server 0.3.12.4 -- Relaxed Parser, Date Fix
Hello Everyone,
Just a small announcement for Mongrel 0.3.12.4 which fixes the following
things:
* Corrects the date format returned so that months are three chars only.
* Fixes a problem where DirHandler wasn''t returning Last-Modified and Etag
headers for unknown MIME types.
* Implements a default mime type for anything it doesn''t know about, and
lets you set it via an
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
2007 Oct 25
2
Patch for X-SendFile on Windows
A new TRAC entry with patch has been added (initially for Camping)
to allow X-SendFile on Windows to use DirHandler to send files on
drives other than the current drive, if the DirHandler base path is "/"
(which is the way Camping uses DirHandler).
As it was, "/" gets expanded to "C:/", and then you can''t serve files
on any other drive, which I needed to do
2010 Feb 01
1
case sensitivity, "Match User" and "AllowUsers"
Hello,
I sent this last week before signing up for the list, but haven't seen it in the archives, so I'm guessing it got discarded either as spam or HTML (sorry about that). In any case, the following was sent to comp.security.ssh early last week and I have gotten no response there. Can anyone here shed some light?
Thanks,
Eric
------------------------------------------
Hello,
2006 May 23
1
Mongrel 0.3.13 Pre-Release Update -- Yep, Again
Hi Folks,
This is another pre-release announcement with lots of goodies for people
to test and play with. At this rate the 0.3.13 release may just turn
into 0.4.
GETTING IT
Pretty simple, just gem install mongrel
--source=http://mongrel.rubyforge.org/releases/
You can get more information at http://mongrel.rubyforge.org/
WHAT''S IN IT
This release has lots of little things, mostly
2006 Jul 28
0
URL root/serving more than one app per subdomain
Hey folks,
I have the following situation: I have a secure server, and I''d like
to run multiple Rails apps without dealing with setting up multiple
secure servers, with their fixed IPs, etc. So, I want to do https://
secure.domain.com/app1/ and https://secure.domain.com/app2/ etc.
In lighttpd this is possible using a combination of relative_url_root
in each app (in
2007 Aug 10
1
serving static files
It seems that Merb is sending static files with Mongrel::DirHandler.
(mongrel_handler.rb:52)
if get_or_head and @files.can_serve(path_info)
# File exists as-is so serve it up
MERB_LOGGER.info("Serving static file: #{path_info}")
@files.process(request,response)
I haven''t done benchmarks and I''ve hardly glanced at DirHandler''s code
but the
2007 Nov 09
0
starting/stopping/registering Mongrel for HttpHandler
Hi.
I am currently learning Ruby and writing an app that simply uses
Mongrel''s HttpHandler class to create simple ruby servlets. At the end
I have been using code similar to the example in simpletest.rb:
h = Mongrel::HttpServer.new("0.0.0.0", "3000")
h.register("/test", SimpleHandler.new)
#h.register("/files",
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