Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3

2009-05-06 Thread Mr. Pierre Frisch
In order to get the correct server name you need to add an Apache directive: ServerName www.foo.com The exact algorithm is the following: public String _serverName() { // This is set if we are running in a Servlet Container String serverName = he

Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3

2009-05-06 Thread Ricardo J. Parada
On May 6, 2009, at 11:36 AM, Mr. Pierre Frisch wrote: Item 3 Can you elaborate on the wrong server name? Thanks Hi Pierre, Thanks for your response. Regarding item #3 - "The generated direct action URL has the wrong server name" : The situation is as follows, when the application is d

Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3

2009-05-06 Thread Mr. Pierre Frisch
Hi Ricardo, Thanks for the bug report. This is already fixed in the next version of WO. Item 1 can be solved easily by over riding the following method in WOContext public String directActionURLForActionNamed(String anActionName, NSDictionary queryDictionary) { return this.directActi

Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3

2009-05-05 Thread Ricardo J. Parada
It seems to me that there are three separate issues: 1. WO generating direct action URLs with http even though the application is accessed securely via https. 2. WO generating complete URLs for direct actions. 3. The generated URL having the wrong server name. I thinks #1 is a bug. See also

Re: directActionURLForActionNamed() generating complete URLs, > under WO 5.4.3

2009-05-05 Thread Ricardo J. Parada
Thanks Susanne... That definitely sounds like the culprit. We use Apache on Solaris and there is an sslInclude.conf file but no ServerName in there. We're still checking apache configurations. I'll report back if we find out. Thanks a million, Ricardo On May 5, 2009, at 11:34 AM, Susanne

Re: directActionURLForActionNamed() generating complete URLs,> under WO 5.4.3

2009-05-05 Thread Susanne Schneider
Hi Ricardo, we had just a similar problem here yesterday: the culprit was the misconfigured Apache. For SSL there is a separate config file where the server name is defined. No WO magic in here, WO just picks up the entry from the header passed over by Apache. on Mac: /etc/apache/extra/httpd

Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3

2009-05-04 Thread Andrew Lindesay
Hello Ricardo; I think my problems (6.July and probably WO 5.4.2) regarding those tables were; I was a surprised to see secure (G) URL's reverting from HTTPS to HTTP. In the case of (B), I was also surprised that the explicitly supplied instance number is ignored for all but the developme

Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3

2009-05-04 Thread Andrew Lindesay
Hello Ricardo; I found a problem which I think was resolved in 5.4.3, but to check I made the following charts; http://wiki.objectstyle.org/confluence/display/WO/WebApplictions-Development-UrlCreation Although not providing an answer to your question, it may help. cheers. The dire

directActionURLForActionNamed() generating complete URLs under WO 5.4.3

2009-05-04 Thread Ricardo J. Parada
Hi All, The direct action URL in our application running in WebObjects 5.3.3 in production looks like this: /app/WebObjects/PatientPortionPricer.woa/52301/wa/MPVAjaxAction/ MPVContractPicker?wosid=... However, In the 5.4.3 version it looks like this: http://web1-u/app/WebObjects/RKMPPP.wo