From: William P. <wil...@ya...> - 2010-04-01 13:11:39
|
Whatever works is fine by me... let's fix and redeploy, seeing as the production is broken. The path needs to be full, not relative, and while Javascript can do just about anything -- it wouldn't be an easy solution. Rather than a PURL, how about just hard-coding "www.treebase.org"? (do we have a parameter init file where this can be stored?) bp On Mar 31, 2010, at 8:07 PM, Hilmar Lapp wrote: > Do you need an absolute path that includes the server name, i.e., does a relative path not suffice? If you do need a full path, does that have to be generated server-side or can that also be done in JavaScript (which will yield the correct server name). > > -hilmar > > On Mar 31, 2010, at 8:02 PM, youjun guo wrote: > >> Bill, >> >> In treebase.org the server name in the phylowidget redirect url return "localhost:8080" because we have a Apache server in front of Tomcat, and Apache addressed the Tomact work this way. >> >> I think we have to use purl this time. >> >> Youjun |