[Seaside] Starting a site

Janko Mivšek janko.mivsek at eranova.si
Wed Aug 22 14:39:41 UTC 2007


Boris Popov wrote:
> Does 2.0 support wildcard IPs to listen on all interfaces?

No, because this is not so simple to achieve on Swazoo because of 
virtual server support. But I'm thinking about adding that somehow, stay 
tuned!

Best regards
Janko


> 
> Cheers!
> 
> -Boris
> (Sent from a BlackBerry)
> 
> ----- Original Message -----
> From: seaside-bounces at lists.squeakfoundation.org 
> <seaside-bounces at lists.squeakfoundation.org>
> To: The Squeak Enterprise Aubergines Server - general discussion. 
> <seaside at lists.squeakfoundation.org>
> Sent: Wed Aug 22 07:23:07 2007
> Subject: Re: [Seaside] Starting a site
> 
> Hi Andrés,
> 
> Andres Fortier wrote:
>  > thanks Janko, it works like a charm. Now, have a doubt: if I try
>  > accessing the site in the old way (http://localhost:8001/...) it doesn't
>  > work anymore; is there a way to configure the site (or the server) to
>  > listen to both the ip and localhost?
> 
> Yes, you can add one or more aliasese to the Swazoo Site. And not only
> hostname aliases but a whole host:ip:port combination. And that's what
> you need to do in your case:
> 
>   1. SwazooServer stop
>   2. inspect your Site
>   3. yourSite addAlias:
>         (SiteIdentifier host:'localhost' ip:'127.0.0.1' port: 8001)
>   4. SwazooServer start
> 
> If you inspect now a SwazooServer singleton servers, you'll now see two
> HTTPServers serving on two ip:port combinations but for the same Site!
> 
> Best regards
> Janko
> 
> 
>  >
>  > Thanks again,
>  >              andreś
>  >
>  > Janko Mivšek escribió:
>  >> Hi Andrés,
>  >>
>  >>
>  >> Andres Fortier wrote:
>  >>> Hi list,
>  >>>         First of all I must say that my knowledge in networks is very
>  >>> limited, so maybe this is well-known in the community.
>  >>>
>  >>> I've finally finished my simple site, put it in the server and tested
>  >>> it via http://localhost:8001/...
>  >>>
>  >>> Now, the strange thing is that if I try to access it by using the
>  >>> server ip (http://xxx.yyy.zzz.www:8001/...) it doesn't work. I've
>  >>> been told by the guys in tech suport that the server was only hearing
>  >>> in the localhost interface and that I should set it up to listen in
>  >>> all the other interfaces. Any ideas how to solve this? I'm using
>  >>> Seaside with Swazoo on VW.
>  >>
>  >> Try to do something like this:
>  >>
>  >> 1. SwazooServer stop.
>  >> 2. Inspect SwazooServer singleton sites and in your site inspect
>  >>    uriPattern.
>  >> 3. set host:ip:port: combination accordingly. For instance:
>  >>     host: 'www.mysite.com'
>  >>     ip: 'xxx.yyy.zzz.www'
>  >>     port: 8001
>  >> 4. if necessary put in hosts file on your computer:
>  >>     xxx.yyy.zzz.www  www.mysite.com
>  >>
>  >>
>  >> I hope that helps
>  >>
>  >> Best regards
>  >> Janko
>  >>
>  >
> 
> --
> Janko Mivšek
> AIDA/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the seaside mailing list