AH thanks, that seems to have done it.


On Fri, Apr 22, 2011 at 3:01 PM, Dominique Boucher <dominique.boucher@nuecho.com> wrote:
Did you put the line in the <server> section? It should be in the global section (usually before any <server> section).

On 11-04-22 07:57 AM, Zachary Kessin wrote:
Tried that, got this response:

Yaws: Bad conf: "Unexpected input [\"ebin_dir\",'=',\"/home/zach/InCharecter/\"] at line 16"


On Fri, Apr 22, 2011 at 2:50 PM, Dominique Boucher <dominique.boucher@nuecho.com> wrote:
HI Zachary,

have you tried putting the following line in your yaws.conf file:

ebin_dir = /home/zach/InCharecter

I doubt Yaws (Erlang) looks in the doc root directory when loading .beam files. In fact, I would rather put .beam files in another directory not reachable from the doc root directory, and fix the ebin_dir line accordingly.

Hope this helps!


On 11-04-22 07:29 AM, Zachary Kessin wrote:
I hope someone can help me. I am transitioning to developing with Erlang/Yaws after serveral years of PHP.

I'm having trouble setting up an app mod service I created a yaws.conf file 

<server localhost>
        port = 8000
        listen =
        docroot = /home/zach/InCharecter/
        appmods = <book, book>

and put the book.erl (which I jsut took from the example)

box(Str) ->
out(A) ->
       box(io_lib:format("A#arg.appmoddata = ~p~n"
                         "A#arg.appmod_prepath = ~p~n"
                         "A#arg.querydata = ~p~n", 

And all it seems to do is give is an internal error. (The book.erl and book.beam files are in the doc root)

------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________ Erlyaws-list mailing list Erlyaws-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/erlyaws-list