From: Yariv S. <ya...@gm...> - 2006-11-06 21:25:22
|
Hi, I'm having an issue with an appmod set to "/". Here's my yaws.conf setting: <server localhost> port = 8000 listen = 0.0.0.0 docroot = /Users/yariv/apps/music/www appmods = <"/", erlyweb> <opaque> appname = music </opaque> </server> When I navigate to http://localhost:8000/foo/bar/baz.html, the appmoddata in the arg record that's passed to erlyweb:out/1 is "/bar/baz.html" instead of "foo/bar/baz.html" I'm using the latest version from CVS. Is this a bug or am I missing something? Thanks Yariv |
From: Yariv S. <ya...@gm...> - 2006-11-06 21:47:45
|
A couple more details: navigating to http://localhost:8000/music yields the following appmoddata: "//music" but navigating to http://localhost:8000/music/foo yields the following appmoddata: "/foo" Yariv On 11/6/06, Yariv Sadan <ya...@gm...> wrote: > Hi, > > I'm having an issue with an appmod set to "/". Here's my yaws.conf setting: > > <server localhost> > port = 8000 > listen = 0.0.0.0 > docroot = /Users/yariv/apps/music/www > appmods = <"/", erlyweb> > <opaque> > appname = music > </opaque> > </server> > > When I navigate to > > http://localhost:8000/foo/bar/baz.html, the appmoddata in the arg > record that's passed to erlyweb:out/1 is "/bar/baz.html" instead of > "foo/bar/baz.html" > > I'm using the latest version from CVS. > > Is this a bug or am I missing something? > > Thanks > Yariv > |
From: Claes W. <kl...@ta...> - 2006-11-06 22:42:25
|
Yariv Sadan wrote: > > I'm using the latest version from CVS. > > Is this a bug or am I missing something? > Bug, fixed in CVS now. thanks /klacke |