You cannot post messages because only members can post, and you are not currently a member.
|
SSL when mochiweb is behind nginx proxy
|
| |
Hi,
I'm using nginx as a proxy in front of mochiweb.
I need to server one page with SSL [link]
If I configure nginx for SSL can I process this url with mochiweb as
usual
or do I need to do something special in mochiweb?
What is the status of the SSL patch?
Can I use it directly with port 443 and use the certificate?... more »
|
|
passing additional data with the request
|
| |
Hi,
I'm building a simple CMS on top of mochiweb.
In the loop have a dispatcher that pass the request to a handler
module.
There are several modules that process the request before it reaches
the handler which are similar
to django middlewares.
An example for a middleware is a session module which retrive the... more »
|
|
How to return status code 500 on server crashes
|
| |
I created a webserver based on the mochiweb project skeleton and using
it wit a library which follows the "crash early, crash often"
paradigm. Which is a falid approach to build a system.
Unfortunately if a crash occures in the loop/2 function the server
closes the connection to the client without sending anything.... more »
|
|
Returning erlang term_to_binary to browser, char 65533 not 131 at [0]
|
| |
Hi,
This is probably not a mochiweb thing, more a web thing but: I have a
module that creates a tuple. This tuple is then converted to a binary
using term_to_binary(Tuple). I then return this binary to the client
( {200, [{"Content-Type", "text/plain"}], Term}; ).
On the client,when I look at the returned data the first char has... more »
|
|
mochiweb_html tokenizer and bad html.
|
| |
Hi there, new to the group, but I've been using mochiweb for a while.
I'm using mochiweb_html to parse some pages, and noticed that it has
some problems with some ugly html constructions.
Example:
...
[{start_tag,<<"a">>,
[{<<"href">>,<<"userdetails.ph p?id">>},{<<>>,<<"1340">>}],... more »
|
|
Some testing a MochiWeb app
|
| |
Hi all,
I'm quite new to mochiweb and erlang. I was following RJ's posts at:
[link].
However, floodtesting is not working for me.
My facts:
1. The mochiweb server is up and running, and the lynx test is working... more »
|
|
error_logger, full RAM consumption
|
| |
Has anyone experienced running mochiweb and having the server after some time consume 4 GB of the total server's ram with the error_logger process having the largest stack+heap size in the crash dump? The problem would be easy to solve if I could simply find a gradual leak in memory but what is odd is that it instantly consumes all the memory in one... more »
|
|
MochiWeb used in www.edgynet.com
|
| |
Hi Everyone, Quick note to let you know that we've just released a site that uses MochiWeb. It's an online network simulation environment called Edgynet: [link] We're making heavy use of Comet (via the Bayeux protocol) to deliver data to and from shells/terminals as quick as possible. All these... more »
|
|
如何把一个用户ID 和 一个PID 关联起来。。。
|
| |
是这样的,我想实现一个IM系统。。。 其中我用到了 url?uid=111 这样的形式来传递打开这个页面的是哪个用户 在程序中我是这样接收的。。 Data = Req:parse_qs(), Uid = list_to_binary(proplists:get_v alue("uid", Data)) set(Uid,self()); //这是一个朋友提供给我的方法,经测试,编译报错... more »
|
|
New to mochiweb
|
| |
Friends,
I am newbie to mochiweb and I would like to do project
using mochiweb only
I have searched in google it bt i got few only
first i'd like to get the basis of it ,how to use it for debian??
|
|
|