On Thu, May 15, 2014 at 3:38 PM, Florian Zumbiehl <florz@florz.de> wrote:
Hi,

> That's a bug in the online documentation that's already fixed. Replace
> rscheme with rmethod.

Indeed, that works--with a string, that is. Thanks!

Could you possibly also explain the syntax for the following settings when
specified in the proplist(s) for embedded use?:

- default_type

{mime_types_info, [{default_type, DefaultTypeString}]}
 
- add_types

{mime_types_info, [{types, [{MimeType1, Ext1}, {MimeType2, Ext2}]}]}

can/should be combined with the mime_types_info above for setting the default_type, like this:

{mime_types_info, [{default_type, DefaultTypeString},
                             {types, [{MimeType1, Ext1}, {MimeType2, Ext2}]}]}


- access_log
- auth_log

Both of these are set as flags in the server conf, and they can be set together. The flag values are in the yaws.hrl include file, and using those values means the setting would look like this:

{flags, ?SC_ACCESS_LOG bor ?SC_AUTH_LOG }

--steve