Questions tagged [mochiweb]

MochiWeb is an Erlang library for building lightweight HTTP servers.

MochiWeb is an Erlang library for building lightweight HTTP servers.

Getting started

  1. Download mochiweb from official repository on GitHub.
  2. Watch Video Tutorial To Start Developing Web Applications on Erlang.
  3. Ask questions.

Community

There's a group of users of mochiweb on Google, where you can find other useful info and talk to its developers.

70 questions
0
votes
1 answer

Creating then accessing Mochiweb Cookies

Hey I'm trying to have the website I'm making send a cookie to the user then display a webpage. So I've found http://alexmarandon.com/articles/mochiweb_tutorial/ as the only real tutorial about how make a cookie but it seems to error out for me. My…
Gplex
  • 7
  • 1
  • 5
0
votes
1 answer

Erlang SSL Forward Secrecy

I using Erlang Mochiweb as Http server with SSL. Mochiweb use pure Erlang SSL library. How to configure erlang ssl to support Forward Secrecy? For more info about SSL Forward Secrecy: https://en.wikipedia.org/wiki/Forward_secrecy
dryymoon
  • 131
  • 1
  • 4
0
votes
1 answer

How to setup user signon authentication in Mochiweb?

It appears that erlang's mochiweb does not have any configuration that allows to setup a logon redirect user authentication. How could this be implemented ?
gextra
  • 8,439
  • 8
  • 40
  • 62
0
votes
1 answer

Mochiweb debug (like ejabberd debug)

I was wonderng if anyone knows of a way to get into Mochiweb like ejabberd does when you run /sbin/ejabberdctl debug?
ewindsor
  • 885
  • 10
  • 24
0
votes
1 answer

webmachine access post body in *_perf_logger

Attempting to intercept all the requests on webmachine API. I took a copy of webmachine_perf_logger.erl and changed to publish the {verb, resource, module}. For the posts I'm also interested in BODY. Because the logging part in…
user2624443
  • 60
  • 1
  • 6
0
votes
1 answer

Can not connect to websocket server using WebSocket4Net

I have a mochiweb as WebSocket server; connectivity using JavaScript from Chrome browser as ws client went smooth (open, send message, close). However, when I tried to connect from C# using websocket4Net, I always get below error from…
user2024899
  • 11
  • 1
  • 3
0
votes
1 answer

Mochiweb custom configuration

I have tried to search for an answer in google, and this site, but it seems I cannot find anywhere, so I decided to ask. I'm planning of using mochiweb as my webserver, and I studied it for few days now. My question is simple: Where could I put or…
Bromo Programmer
  • 670
  • 2
  • 13
  • 37
0
votes
2 answers

Simple JSON request with cURL to Mochiweb

I have a very simple 'hello world' Mochiweb server (I just started my introduction into it), which takes a JSON request and sends it back: 'POST' -> case Path of "dummy" -> Data =…
skanatek
  • 5,133
  • 3
  • 47
  • 75
0
votes
3 answers

Advantages of using an Erlang web server for a web application

Note: This question is heavily affected by the main requirement to the web application that I build: high availability and fault tolerance. All the other requirements (like scalability and number of users) is not in question here. I have got and…
skanatek
  • 5,133
  • 3
  • 47
  • 75
-1
votes
2 answers

Mochiweb: Include and compile other libraries

My app uses Mochiweb. I have noticed that Mochiweb files reside in the myapp/deps/mochiweb directory and rebar compiles them when I run make in the myapp directory. I wanted to add ibrowse to write a few tests which make http requests to my app. So…
skanatek
  • 5,133
  • 3
  • 47
  • 75
1 2 3 4
5