[Seaside] Starting a site

Boris Popov boris at deepcovelabs.com
Wed Aug 22 15:45:34 UTC 2007


I was thinking that Swazoo lookup just treat it as a match if no other more specific virtual sites were found? I don't know much about virtual sites, and really don't want to know in the context of our Seaside application, I simply want to listen on all local interfaces and pass the requests down to Seaside without hacking it too much. Mind you, I'd need the change in 1.0...

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Janko Mivšek
> Sent: Wednesday, August 22, 2007 7:40 AM
> To: Seaside - general discussion
> Subject: Re: [Seaside] Starting a site
> 
> 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
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list