Hi Chuck !

2012/4/25 Chuck Hill <[email protected]>

> Hi Alexis,
>
>
> On 2012-04-23, at 7:31 PM, Alexis Tual wrote:
>
> > Hi list,
> >
> > here's a puzzle I've solved half way :
> > On a production server (OS X Server 10.6.8 & Apache 2.2), I got js
> errors on Wonder apps, the typical one being AjaxTabbedPanel is not defined.
> > After hours of hair pulling, I've nailed it : on an ajax request, Apache
> or the adaptor somehow changes the http header "x-requested-with" to
> "http_x_requested_with", causing the ERXAjaxApplication.isAjaxRequest to
> return false and as a result all sorts of on demand resource loading
> problems.
>
> Good work!
>
>
> > Now, how do I fix this ? I see 2 options :
> > 1) Mess with apache modules (mod_headers...) or confs to restore this
> "x-requested-with" header
> > 2) Complete the ERXAjaxApplication.isAjaxRequest to check also for the
> http_x_requested_with
> >
> > What do you think ? Has someone already had this issue ?
>
>
> Over the years there have been a lot of problems with headers that change
> names.   The usual solution has been (2) and I recommend that.
>
Thanks for your advice, I will change it / test it / pull request it

Have a nice day or night

Alex
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to