bornbo...@gmail.com
unread,Aug 21, 2009, 2:00:50 PM8/21/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to forumgrouper
Dear Mongrel People,
lighttpd allows me to assign a mimetype to a file which ends with a
specific suffix.
For example if I have a file named, "helloworld.manifest", and I serve
it using lighttpd,
I can declare its mimetype with the following declaration in
lighttpd.conf:
mimetype.assign = (
".manifest" => "text/cache-manifest",
".css" => "text/css",
".gif" => "image/gif",
".htm" => "text/html",
".html" => "text/html",
".jpeg" => "image/jpeg",
".jpg" => "image/jpeg",
".js" => "text/javascript",
".png" => "image/png",
".swf" => "application/x-shockwave-flash",
".txt" => "text/plain"
)
With Mongrel, how do I declare the mimetype of "helloworld.manifest" ?
-b