<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] Starting a site</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

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

</BODY>
</HTML>