Bug report please.

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Jan 16, 2008, at 9:34, James Brook wrote:

This did turn out to be a problem with the Apache 2.2 adaptor (both the Apple and the Wonder one). In case anyone needs it, I have attached a patch for the Apple 2.2 adaptor that seems to fix the problem. I am not sure how one goes about submitting a patch to Apple.
<AppleAdaptorPatch.txt>


To get it to compile as a fat binary (some Macs run Apache under a 64 bit architecture), I added the following to make.config:

LDFLAGS = -arch x86_64 -arch ppc64 -arch ppc -arch i386

The same code change works for the Wonder adaptor. I will submit a patch for that to the developers as soon as I have time and have worked out how to compile it for x86_64.

--
James

On 15 Jan 2008, at 10:24, James Brook wrote:

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      (Webobjects-dev@lists.apple.com)
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






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pierre%40apple.com

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
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