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 [hidden email] 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. _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside smime.p7s (4K) Download Attachment |
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 [hidden email] 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: [hidden email] [mailto:[hidden email]] 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 [hidden email] 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. _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside smime.p7s (4K) Download Attachment |
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 [hidden email] 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: [hidden email] [mailto:[hidden email]] 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 [hidden email] 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: [hidden email] [mailto:[hidden email]] 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 [hidden email] 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. _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside smime.p7s (4K) Download Attachment |
Free forum by Nabble | Edit this page |