Maybe we should include a RequestHandler that dispatches according to the Host: header? Is that something people would find generally useful?<br><br>Julian<br><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 7:35 AM, Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan@inceptive.be">johan@inceptive.be</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Pat,<br>
<br>
In order to dispatch incoming requests based on the server name, you need to set up an external http server that proxies requests to your Smalltalk http server(s) running the Seaside apps.<br>
The Smalltalk http servers, like Swazoo, do not support virtual hosts (afaik).<br>
<br>
If that is not an option for you, my guess would be to try to hack something using #initialRequest (see Seaside book) to redirect incoming requests to the other application. Or you might want to investigate the implementation of the handlers and see if you can implement something there to dispatch to a handler based on the server name. But setting up a front-end http server that proxies to the right url is probably going to take you less time.<br>


<br>
Hope that helps<br>
Johan<br>
<br>
On 07 Jun 2011, at 21:28, Pat McDonald wrote:<br>
<br>
&gt; I can access them with <a href="http://my.domain1.com/domain1" target="_blank">my.domain1.com/domain1</a> and <a href="http://my.domain1.com/domain2" target="_blank">my.domain1.com/domain2</a> or <a href="http://my.domain2.com/domain1" target="_blank">my.domain2.com/domain1</a> and <a href="http://my.domain2.com/domain2" target="_blank">my.domain2.com/domain2</a>, but using <a href="http://my.domain1.com" target="_blank">my.domain1.com</a> or my.domain2.comjust gets me the Welcome screen. I guess I must change the default of WADispatcher, but do I need to do this for both sites ?<br>


<br>
_______________________________________________<br>
<div><div></div><div class="h5">seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>