<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I use yapps.<br><br></div>The thing is I want to avoid to test at yapp level for allowable methods <br>and return method not allowed at application level<br><br></div>Something like inets httpd has (<a href="http://www.erlang.org/doc/apps/inets/http_server.html">http://www.erlang.org/doc/apps/inets/http_server.html</a>):<br></div>Allows only GET and POST<br><pre><Limit POST GET>
order allow deny
require group group1
allow from 123.145.244.5
</Limit></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 10:01 PM, Steve Vinoski <span dir="ltr"><<a href="mailto:vinoski@ieee.org" target="_blank">vinoski@ieee.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Feb 12, 2015 at 2:44 PM, Bogdan Andu <span dir="ltr"><<a href="mailto:bog495@gmail.com" target="_blank">bog495@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>Can anybody tell how to disable or enable http methods in yaws?<br><br></div>For example, I want myu ywas server to serve only GET and POST.<br></div>and I do not want OPTIONS, HEAD, etc</div></div></div></blockquote><div><br></div></div></div><div>How are you implementing your resources? Are you using .yaws files, or appmods, or serving static files, or?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>--steveĀ </div></font></span></div></div></div>
</blockquote></div><br></div>