Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Newbie Questions

asphaltjesus
Posted: Mon Apr 14, 2008 4:48 pm Reply with quote
Joined: 09 Apr 2008 Posts: 3
1. Is there a reload function similar to apache's
whereby as I add sites, I can run a reload command to
serve new domains without a restart?

2. It doesn't look like there is a cgi-perl interface
to yaws. If I'm wrong, some information would be
great. If I need to make a feature request, please
advise accordingly.

3. PHP has a built-in fastcgi interface. Has anyone
configured it to run with yaws?

4. I want to run yaws in an active/passive cluster.
Are there Erlang runtime ways to do this or do I stay
with heartbeat?


____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
View user's profile Send private message
Guest
Posted: Tue Apr 15, 2008 4:53 pm Reply with quote
Guest
Michael Papet wrote:
> 1. Is there a reload function similar to apache's
> whereby as I add sites, I can run a reload command to
> serve new domains without a restart

# yaws --hup

>
> 2. It doesn't look like there is a cgi-perl interface
> to yaws. If I'm wrong, some information would be
> great. If I need to make a feature request, please
> advise accordingly.
>

There is a CGI interface, it doesn't matter which language
is used to impl. the CGI scripts.
See http://yaws.hyber.org/cgi.yaws

> 3. PHP has a built-in fastcgi interface. Has anyone
> configured it to run with yaws?

No, perfectly doable, but sofar there ere no implemenations
of the fastcgi interface for yaws.

>
> 4. I want to run yaws in an active/passive cluster.
> Are there Erlang runtime ways to do this or do I stay
> with heartbeat?
>
>

This is non-trivial, to do this properly you need
to migrate the IP of the active yaws server to the
passive in the case of a fail-over.
It would make sense to bundle some IP migration code
with yaws to better facilitate active/passive yaws HA
solutions.


/klacke


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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