[Seaside] actionUrl incorrect behind proxies?

Boris Popov boris at deepcovelabs.com
Fri Jul 14 18:56:21 UTC 2006


Heh, solved,

anApplication
 preferenceAt: #serverProtocol put: #https;
 preferenceAt: #serverPort put: nil;
 yourself

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

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: Friday, July 14, 2006 11:41 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: RE: [Seaside] actionUrl incorrect behind proxies?

Okay, half-way there now. Adding ProxyPreserveHost directive on the Apache
side preserves the external URL. The next problem is matching the scheme,
because the external side is SSL secured, yet the VisualWorks side honestly
believes it should use regular port 80, so my Scriptaculous URLs look like
'http://mydomain.com/online' instead of 'https://mydomain.com/online'...
Anyone? ;)

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

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: Friday, July 14, 2006 11:19 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: [Seaside] actionUrl incorrect behind proxies?

I have an Apache proxy in front of the deployed application and one problem
I can't quite figure out yet, is how to make sure that #actionUrl of a
rendering context is set to the right thing. As things stand, this issue
affects Scriptaculous use only, as every other action is relative and
therefore no hard url references are included anywhere in the source.

Anyone?

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060714/9836e35a/smime.bin


More information about the Seaside mailing list