[Seaside] Seaside 2.8 port override not overriding

Boris Popov boris at deepcovelabs.com
Tue Jul 31 16:12:19 UTC 2007


More specifically,

http://tinyurl.com/yyc8oz

which points to,

http://leftshore.wordpress.com/2006/10/27/hint-setting-up-apache-proxy-f
or-your-seaside-host/

Cheers,

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Boris Popov
> Sent: Tuesday, July 31, 2007 8:20 AM
> To: seaside at lists.squeakfoundation.org
> Subject: Re: [Seaside] Seaside 2.8 port override not overriding
> 
> Oh, yes, I must have missed that one in Johns apache config post. This
> gets mentioned in the list a few times here and there, and I think I
> blogged about it somewhere. Thanks Dale, this could very much do it.
> 
> 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 08:17:11 2007
> Subject: Re: [Seaside] Seaside 2.8 port override not overriding
> 
> John,
> 
> This may or may not be relevant, but for GemStone we set
> ProxyPreserveHost On. From the Apache docs:
> 
>     This option should normally be turned |Off|. It is mostly useful
in
>     special configurations like proxied mass name-based virtual
hosting,
>     where the original Host header needs to be evaluated by the
backend
>     server
> 
> We are using a slew of Virtual Hosts and Seaside normally gets the
> host/ip information from the incoming request, so that's likely to be
> were the odd port is coming from.
> 
> Hope this helps,
> 
> Dale
> 
> John Thornborrow wrote:
> 
> > 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
> >
> > _______________________________________________
> > 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