Unfortunately not. I am pretty sure that the adaptor normally sets this header based on an Apache environment variable (or in the past the x-webobjects-server-port header was set). Everyone on the team using Apache 2.2 and the WO 5.4 adaptor gets a value of zero. Those who haven't upgraded get the correct port.

I really need the port to find out whether or not requests are SSL so that I can redirect appropriately. The plan is for a hardware SSL accelerator/offloader to pass offloaded SSL requests on to port 81.

I will try the Wonder adaptor and experiment with Apache variables.

--
James

On 15 Jan 2008, at 03:01, Chuck Hill wrote:

Check the other headers, it might be there under a new name.

Chuck


On Jan 14, 2008, at 10:33 AM, James Brook wrote:

No matter what I do, my application always reports that the value of the "server_port" header is "0". I am running WebObjects 5.3 on Leopard, with the latest version of Wonder and using Apache 2.2 and the adaptor that ships with WO 5.4. Has anyone run into this?

I suspect an adaptor problem. When I debug createRequest I see that the "0" value is already set for the header there. Are people using the 5.4 adaptor with Apache 2.2 and WO 5.3? Should I switch to the Wonder 2.2 adaptor or Apache 1.3?

I would appreciate any help.

--
James
_______________________________________________
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/chill%40global-village.net

This email sent to [EMAIL PROTECTED]


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






James Brook
Technical Architect
........................................................................
......................................................
Chello Interactive
Berghaus Plaza
Koningin Wilhelminaplein 2-4
1062 HK Amsterdam
The Netherlands

T: +31 (0)6 46 61 8760
........................................................................
......................................................

_______________________________________________
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