Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  "/" appmod

Guest
Posted: Mon Nov 06, 2006 9:26 pm Reply with quote
Guest
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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Mon Nov 06, 2006 9:48 pm Reply with quote
Guest
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 <yarivvv@gmail.com> 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
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Mon Nov 06, 2006 10:42 pm Reply with quote
Guest
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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum