[Seaside] Deploying Seaside on a Swazoo Server
jfitzell at gmail.com
Wed Jun 8 07:41:25 UTC 2011
Maybe we should include a RequestHandler that dispatches according to the
Host: header? Is that something people would find generally useful?
On Wed, Jun 8, 2011 at 7:35 AM, Johan Brichau <johan at inceptive.be> wrote:
> 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.
> The Smalltalk http servers, like Swazoo, do not support virtual hosts
> 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.
> Hope that helps
> On 07 Jun 2011, at 21:28, Pat McDonald wrote:
> > I can access them with my.domain1.com/domain1 and my.domain1.com/domain2or
> my.domain2.com/domain1 and my.domain2.com/domain2, but using
> my.domain1.com 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 ?
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside