Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  {yssi, File} return value not working?

Guest
Posted: Tue Nov 24, 2009 11:15 pm Reply with quote
Guest
I have tried to get the yaws server side include working but the file
I have does not get included in the output.
I've done everything I can think of:
{yssi, filename:join(Arg#arg.docroot, "foo.yaws")}
{yssi, "foo.yaws"}
{yssi, "/foo.yaws"}

No one outputs the foo.yaws
normal ssi works just good using {ssi, "foo.html", [],[]}

Do yssi work at all?
Best regards
Nicklas W Bjurman

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Sat Nov 28, 2009 12:47 am Reply with quote
Guest
Nicklas Widlund Bjurman wrote:
> I have tried to get the yaws server side include working but the file
> I have does not get included in the output.
> I've done everything I can think of:
> {yssi, filename:join(Arg#arg.docroot, "foo.yaws")}
> {yssi, "foo.yaws"}
> {yssi, "/foo.yaws"}

Works fine,

# cat t.yaws
<erl>
out(A) ->
{yssi, "t2.yaws"}.
</erl>


and then
# cat t2.yaws
<erl>
out(A) ->
{html, "nanananana"}.
</erl>


and finally

# curl http://krom:8000/t.yaws
nanananana


/klacke





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received 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