[Seaside] Starting a site

Boris Popov boris at deepcovelabs.com
Thu Aug 23 21:35:59 UTC 2007


Janko,

Mostly because I just don't want to query the host to see which IPs are available when 0.0.0.0 is out there and waiting for me to use it :) Single site restriction is just fine for ~100% of Seaside users anyway.

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: Thursday, August 23, 2007 2:32 PM
> To: Seaside - general discussion
> Subject: Re: [Seaside] Starting a site
> 
> Hi Boris,
> 
> Sorry for a bit late answer, I was fully occupied with recent work on my
> web framework.
> 
> Boris Popov wrote:
> > 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...
> 
> It is not so simple. If you put '*' in ip part that means only that your
>   HTTPServer will listen on all ports, but you need to add '*' to a host
> part of SiteIdentifier too, so that the HTTPServer will resolve whatever
> broswer sends in a Host: header. If you do that, than you must be sure
> that there is ony one Site and that you cannot add any more Site
> anymore. So, it is doable but in current Swazoo architecture it must be
> done carefully. Just putting a '*' there and there is not enough.
> 
> On the other side I just don't understand why you can't solve your
> problem more cleanly with aliases, as I shown to Andrés? Start Swazoo on
> localhost, then add alias to any ip on your machine you want.
> 
> Best regards
> JAnko
> 
> 
> 
> 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


More information about the seaside mailing list