The invalid URL in the header is apparently the problem.

As a quick test I installed a Firefox add-on that allows you to modify headers. 
I set it to send a referer that is a valid URL e.g  
https://dev.example.gov/oms.acgi/acr.query, instead of 
https://dev.example.gov/oms.acgi$acr.query and the 502 errors stopped.

I'm first going try to URL encode the referer header generated by the legacy 
app. If that doesn't work I'll modify the URL scheme to use a valid URL (lots 
more work).

Thanks,

Brad
________________________________________
From: [email protected] 
[[email protected]] on behalf of Aparajita Fishman 
[[email protected]]
Sent: Friday, March 23, 2012 5:41 PM
To: Active4D Developer Discussion List
Subject: Re: [Active4d-dev] A4D URL weirdness

> Would Active4D have a problem if the referer request header contained a
> '$'?

Like I said, that is an invalid URL (and header) character, and has to be url 
encoded.


> Without rewriting the entire legacy site to use a different URL scheme is
> there any way I could trap for that in A4D and possibly change the referer
> value so that it might not fail.

You'll have to do it in apache rewrite.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to