[Seaside] Seaside 2.8 port override not overriding

John Thornborrow john at pinesoft.co.uk
Tue Jul 31 15:05:25 UTC 2007


Hi Boris,

Yes, that is correct, except the port number it is printing is 9090. So 
to summarise; Seaside is creating all links(anchors)/redirects with port 
9090 instead of using the given port number (if any..) on self 
preferenceAt: #serverPort put: 80.

I shall have a look at what I can learn from a halt/debugit.

Cheers,
John.

www.pinesoft.co.uk

Boris Popov wrote:
> So if I understand correctly, seaside is printing 8008 right in the html for you? If so, there's got to be a way to search for all references to that number in your image to see where it was configured this way. Normally seaside apps couldn't care less what internal port numbers they are on as you can have dozens and hundreds of them, but they do want to know how to render externally accessible URLs hence the server protocol and port settings. The other simple way to debug this would be to step though one of the links where they are being rendred to find where 8008 is coming from.
> 
> Cheers!
> 
> -Boris
> (Sent from a BlackBerry)
> 
> ----- Original Message -----
> From: seaside-bounces at lists.squeakfoundation.org <seaside-bounces at lists.squeakfoundation.org>
> To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
> Sent: Tue Jul 31 07:31:56 2007
> Subject: Re: [Seaside] Seaside 2.8 port override not overriding
> 
> Hi Boris,
> 
> I tried this and unfortunately I am getting the same result - i.e. it 
> has no effect on the outcome.
> 
> Thanks,
> John.
> 
> John Thornborrow wrote:
>> Hi Boris, thanks I'll give that a try. Is that on WAKom, or on my root 
>> component?
>>
>> John
>>
>> Boris Popov wrote:
>>> This works in 2.8 for me on VisualWorks,
>>>
>>> (self registerAsApplication: 'online')
>>>  preferenceAt: #serverProtocol put: #http;
>>>  preferenceAt: #serverPort put: 80;
>>>  yourself
>>>
>>> or when deploying,
>>>
>>> (self registerAsApplication: 'online')
>>>  preferenceAt: #serverProtocol put: #https;
>>>  preferenceAt: #serverPort put: 443;
>>>  yourself
>>>
>>> Application itself runs on 7777, 7778, etc and is proxied by Apache in
>>> front.
>>>
>>> Hope this helps,
>>>
>>> Cheers!
>>>
>>> -Boris
>>>
>>
>> Pinesoft Computers are registered in England, Registered number: 
>> 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, 
>> EN8 7EA
>>
>>
>>
>> This message has been scanned for viruses by BlackSpider MailControl - 
>> www.blackspider.com
>>
>> _______________________________________________
>> 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