I've not given up on ErlyWeb yet :)
yaws.conf:
<server localhost>
port = 81
listen = 0.0.0.0
docroot = /home/dmitriid/data/www/erlyweb
dir_listings = true
appmods = </, erlyweb>
<opaque>
appname = buktu
</opaque>
</server>
Then:
erlyweb:create_app("buktu", "/home/dmitriid/data/www/erlyweb").
> all ok.
Then:
erlyweb:compile("/home/dmitriid/data/www/erlyweb/buktu",
[{auto_compile, true}]).
> all ok.
Then navigate to http://localhost:81/ and:
Internal error, yaws code crashed
ERROR erlang code crashed:
File: appmod:0
Reason: {{badrecord,arg},
[{yaws_arg,opaque,1},
{erlyweb,get_app_name,1},
{erlyweb,out,1},
{yaws_server,deliver_dyn_part,8},
{yaws_server,aloop,3},
{yaws_server,acceptor0,2},
{proc_lib,init_p,5}]}
Req: {http_request,'GET',{abs_path,"/"},{1,1}}
Once again I'm lost :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---