Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  how to do per appmod opaque?

Guest
Posted: Thu Sep 27, 2007 10:41 am Reply with quote
Guest
Is it possible to pass a per-appmod-opaque to appmods under a common servername/port?

ErlyWeb is expecting <opaque>appname=blog</opaque> for each app.

Code:
docroot = /path/to/app/wwwappmods = <[UrlPrefix], erlyweb><opaque>  appname = [AppName]</opaque>

but for more than one appmod in a server,

Code:
docroot = /path/to/app/wwwappmods = <[UrlPrefix], erlyweb> <[UrlPrefix_2], erlyweb><opaque>  appname = [AppName]</opaque>
how would I pass a unique opaque to each appmod?

Thanks,

Robin
Post recived from mailinglist
Guest
Posted: Thu Sep 27, 2007 9:39 pm Reply with quote
Guest
Robin Bhattacharyya wrote:
> Is it possible to pass a per-appmod-opaque to appmods under a common
> servername/port?
>
> ErlyWeb is expecting <opaque>appname=blog</opaque> for each app.
>

My take is that this would be an erlyweb issue, appmods and opaque
in yaws are orthogonal items.

So - from a yaws perspective, the answer would have to be no. Sorry


/klacke


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Sat Sep 29, 2007 7:32 am Reply with quote
Guest
If you use Yapps, Yaws applications, it is possible to have "private" opaques
per application, but you have to declare them in the .app file, see section
about opaque variables in:
http://yaws.hyber.org/yapp_intro.yaws

Mikael

torsdag 27 september 2007 23:39 skrev Claes Wikstrom:
> Robin Bhattacharyya wrote:
> > Is it possible to pass a per-appmod-opaque to appmods under a common
> > servername/port?
> >
> > ErlyWeb is expecting <opaque>appname=blog</opaque> for each app.
>
> My take is that this would be an erlyweb issue, appmods and opaque
> in yaws are orthogonal items.
>
> So - from a yaws perspective, the answer would have to be no. Sorry
>
>
> /klacke
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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