Dynamicly generated websites in Erlang
J Scott Jaderholm
jsj@REDACTED
Tue Mar 27 10:22:10 CEST 2001
Hi Torbjorn,
Torbjorn Tornkvist <tobbe@REDACTED> writes:
> Especially the directive where you state your Erlang module to be called:
>
> ErlScriptAlias /my my
I create a directory my in my server_root and put my.erl in there.
> Start Erlang with the switches: -config /...../xxx/inets -s my
I do and get this error
{'init terminating in do_boot',{undef,[{my,start,[]},{init,start_it,1},{init,start_em,1}]}}
init terminating in do_boot ()
Btw, is it normal to get like 4-5 PROGRESS REPORTs when startin inets?
> In your startup code in my.erl, call: application:start(inets)
I'm not sure waht you mean by startup code.
> Now when you point a Web browser towards:
>
> http://something:aport/my/my/test
On mod_esi.html#ErlScriptAlias it says to use my:test syntax. Is this
just outdated?
> For creating HTML content, the faqoff/html_lib.erl
> module in the BTT package can be useful.
Ahh, thank you, I've looked at that and I'll study it more indepth
once I get eli working.
Thanks for your valuable response.
Sincerely,
jsj
More information about the erlang-questions
mailing list