Serving static files from Comanche Re: [Seaside] listen on a single ip

Julian Fitzell jfitzell at gmail.com
Mon Mar 29 23:06:10 UTC 2010


Ok, fair enough. And yes we should add it. (isn't there an issue open
for that somewhere?)

The question I guess is how should you specify the interface? Is an IP
string good enough?

Julian

On Mon, Mar 29, 2010 at 4:44 PM, Sean Allen <sean at monkeysnatchbanana.com> wrote:
> In GLASS there is:
>
> WASwazooAdaptor subclass: 'WAGsSwazooAdaptor'
>
> Which just makes it ugly one way or another.
> The only difference is the addition of a couple methods that allow you
> to specificy the ip address
> to listen on to the underlying Swazoo server. It doesnt break any
> existing code so for me,
> it would be easier to keep patching in the methods rather than try to
> track what might be
> needed in new GS adaptors.
>
> Really, I would just like the modify the existing Seaside adaptors to
> allow for the
> setting a specific ip to bind to.
>
> On Mon, Mar 29, 2010 at 10:40 AM, Julian Fitzell <jfitzell at gmail.com> wrote:
>> How do you mean "used by GLASS code"? The server adaptor is what
>> drives the whole process. Even if GLASS has an adaptor registered by
>> default, you should be able to stop/remove it and run your own - no?
>>
>> Julian
>>
>> On Mon, Mar 29, 2010 at 2:43 PM, Sean Allen <sean at monkeysnatchbanana.com> wrote:
>>> On Mon, Mar 29, 2010 at 8:54 AM, Julian Fitzell <jfitzell at gmail.com> wrote:
>>>> While people are discussing these kinds of things, I just thought I'd
>>>> through in a reminder that you should feel free to implement your own
>>>> subclass of any of the server adaptors if you want custom behaviour.
>>>> This may make custom modifications that we don't adopt easier to
>>>> manage, and of course they will show up in the menu in the Control
>>>> Panel just like any other adaptor.
>>>>
>>>
>>> Unfortunately in my case where the adapter is used by other GLASS code,
>>> that still doesn't really solve the problem.
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list