When I use httpd/inets with modlib, I need to explicitly configure
MIME types, even for images, css, etc. I wonder if Nitrogen does the
same thing but has omitted pdf.
You're seeing other mime types come through? E.g. css -> text/css?
Garrett
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
In your nitrogen installation, check out /etc/inets_httpd.env, which
defines a few common mimetypes for inets.
https://github.com/nitrogen/nitrogen/blob/master/rel/overlay/inets/etc/inets_httpd.erlenv
-Jesse
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
John
-----Ursprungligt meddelande-----
From: Jesse Gumm
Sent: Wednesday, March 07, 2012 10:41 PM
To: Garrett Smith
Cc: John Hughes ; erlang-q...@erlang.org
Subject: Re: [erlang-questions] Serving PDF using Nitrogen/Inets
Excellent!
Glad that helped.
Take care,
-Jesse
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866
www.sigma-star.com
@jessegumm