Hi All,
I am also having problems with the music tutorial
calling http://localhost:18080/music gives the following:
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,"/music"},{1,1}}
same for music/musician and so on
but calling http://localhost:18080/ gives proper:
Welcome to 'music', your new ErlyWeb app.
Let the Erlang hacking begin!
my yaws config:
<server localhost>
port = 18080
listen = 0.0.0.0
docroot = /apps/music/www
appmods = <"/music", erlyweb>
<opaque>
appname = music
</opaque>
# dir_listings = true
</server>
tried here changing appmods to "/" but no effect.
all compilations went fine
could you help me to find the problem? I am totally new to erlang,
yaws and erlyweb but would like to get more familiar to it.
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---