diff options
Diffstat (limited to '_build/static/archives/extend/attachments/20150713/eb33ab46/attachment-0001.html')
-rw-r--r-- | _build/static/archives/extend/attachments/20150713/eb33ab46/attachment-0001.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_build/static/archives/extend/attachments/20150713/eb33ab46/attachment-0001.html b/_build/static/archives/extend/attachments/20150713/eb33ab46/attachment-0001.html new file mode 100644 index 00000000..4db5e976 --- /dev/null +++ b/_build/static/archives/extend/attachments/20150713/eb33ab46/attachment-0001.html @@ -0,0 +1,4 @@ +<tt> +<div dir="ltr"><div><div><div><div><div><div><div><div><div>hello,<br><br></div>Sorry that I turned to the list again, but I would like to get some help from you. I have a websocket based application, based on the cowboy/examples/websocket. It is working well. Now I would like to add a basic authentication, and I saw, there is an example how to do this. I checked the cowboy/examples/rest_basic_auth example.<br></div>So I tried "add" the aut. example into my websocket app by doing the following steps:<br></div> - add new module for handle the authentication<br></div> do_basic_auth.erl<br></div> - update cowboy_router:compile function call when star application with {"/", do_basic_auth, []}<br><br></div>Once the compilation done, I can start the app and I get the "basic auth" window in the browser when connecting to localhost:8080, but the "ordinary" index.html does not appears when I set the correct auth data (user/pwd). I am pretty sure that I made something wrong, I do not see what I did wrong, thus I kindly ask you, please try help me.<br><br></div>The project what I am working on can be seen in the github:<br> <a href="https://github.com/ethrbh/websocket_2">https://github.com/ethrbh/websocket_2</a> <br><br></div>thanks fro your help,<br></div>/Robi<br></div><br> + +</tt> |