Re: Deployment question: WO puts IP address in URL when using HTTPS
Re: Deployment question: WO puts IP address in URL when using HTTPS
- Subject: Re: Deployment question: WO puts IP address in URL when using HTTPS
- From: Gennady Kushnir <email@hidden>
- Date: Mon, 14 Feb 2011 22:53:55 +0300
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@hidden>:
> 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@hidden> 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@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden