As I remember, WO uses -WOHost runtime environment variable to form such urls.
As to me, I use my own method to form secure URLs depending on client IP.
Maybe Wonder offers some hook for that, let's wait for other replies.

2011/2/14 Christoph Wick <[email protected]>:
> Hi John, thanks for your hint.
>
> Unfortunately the apache config is not the problem here, but it is WebObjects 
> (or Wonder) that puts the IP-Addresses into the URL if you are using HTTPS.
>
> What I need are relativ URLs (without IPs), because the app shall be 
> accessible from both, before and behind the firewall.
>
> C.U.CW
> --
> Christoph Wick                        Director Software Development
> STAR Healthcare Management GmbH, Pierstr. 8, 50997 Cologne, Germany
> Fon:+49 2236 33665-50 Fax:+49 2236 33665-90 www.starhealthcare.info
> -------------------------------------------------------------------
>  Sitz der Gesellschaft: Köln, Amtsgericht Köln, Reg.Nr.: HRB 55306
>
>
>
>
> On 14.02.2011, at 16:13, John Huss wrote:
>
>> This is determined by the ServerName setting in apache, which is probably 
>> not matching your regular (http) settings.
>>
>> John
>>
>> On Mon, Feb 14, 2011 at 7:30 AM, Christoph Wick <[email protected]> wrote:
>> Hi there,
>>
>> one of my clients runs a WO application on a Linux box behind a firewall. 
>> The internal IP of the box is e.g. 192.168.1.100. The external IP (through 
>> the firewall) is e.g. 1.2.3.4.
>>
>> Running the app using HTTP is no problem, since all Link-URLs are built as 
>> URIs only, e.g. <a href="/cgi-bin/WebObjects/App.woa/...">
>>
>> But if we use HTTPS, the Link-URLs are built as full URLs using the internal 
>> IP address, e.g. <a 
>> href="https://192.168.1.100/cgi-bin/WebObjects/App.woa/...";>
>>
>> Links like this are - obviously - not accessable through the firewall.
>> Any ideas? A magic switch in Wonder, I was missing ...
>>
>> Thx,
>> C.U.CW
>> --
>> Christoph Wick                        Director Software Development
>> STAR Healthcare Management GmbH, Pierstr. 8, 50997 Cologne, Germany
>> Fon:+49 2236 33665-50 Fax:+49 2236 33665-90 www.starhealthcare.info
>> -------------------------------------------------------------------
>>  Sitz der Gesellschaft: Köln, Amtsgericht Köln, Reg.Nr.: HRB 55306
>>
>>
>>
>>
>>
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>>
>> This email sent to [email protected]
>>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/genkush%40rujel.net
>
> This email sent to [email protected]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to