Seaside on 127.0.0.1 only

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Seaside on 127.0.0.1 only

Udo Schneider
All,

I'm currently (ssl-)proxying a seaside application using apache (which
works fine btw).

Is it possible, to restrict Kom/Seaside to only accept localhost
connection - thus not listening on 0.0.0.0 but on 127.0.0.1 ?

Thanks,

Udo

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on 127.0.0.1 only

Stuart Herring-2
On Thu, Dec 10, 2009 at 4:00 AM, Udo Schneider
<[hidden email]> wrote:
> All,
>
> I'm currently (ssl-)proxying a seaside application using apache (which works
> fine btw).
>
> Is it possible, to restrict Kom/Seaside to only accept localhost connection
> - thus not listening on 0.0.0.0 but on 127.0.0.1 ?
>
Yes it is, but you need to modify or subclass WAKom so that in
#createService,  #addesss: is called on HttpService.

I have:
WAKom class>>createService
        ^(HttpService on: port)
                name: 'seaside';
                address: '127.0.0.1';
                plug: self default;
                yourself

Regards,
Stuart
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside on 127.0.0.1 only

Udo Schneider
Stuart Herring schrieb:
> I have:
> WAKom class>>createService
> ^(HttpService on: port)
> name: 'seaside';
> address: '127.0.0.1';
> plug: self default;
> yourself
Thanks - I'll try it asap.

Thanks,

Udo

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside