[Seaside] Seaside on 127.0.0.1 only

Stuart Herring st-lists at stuartherring.com
Wed Dec 9 20:55:23 UTC 2009


On Thu, Dec 10, 2009 at 4:00 AM, Udo Schneider
<Udo.Schneider at homeaddress.de> 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


More information about the seaside mailing list