On Mon, Nov 29, 2010 at 6:11 AM, Nicolas Vervelle <nverve...@gmail.com>wrote:

> Hi again,
>
> Currently, the extension needs to use the signed applet when working with
> the SMILES string or the PDB code.
> That's normal because it requires services hosted by other sites, but it's
> not very user friendly.
>
> better would be to use a relay from the Wiki host so that the files come in
as locally hosted.


> I'd like to be able to use the unsigned applet even for SMILES string or
> PDB code.
> I was thinking of configuring Apache on the server hosting the wiki so that
> a local URL is redirected to the correct URL.
> What are the exact URL used for SMILES and PDB ?
>
> exactly.


> Is it possible to configure Jmol for using a different URL than the default
> for resolving a SMILES string (other than cactus.nci.nih.gov) or a PDB
> code (other than www.rcsb.org) ?
> That way, the syntax will still be the same in Jmol script (load $SMILES or
> load =PDB) but the call will go through the wiki server.
>
>
easier is to set appletProxy. This relays ALL file requests through your
server and would require no changes to SMILES, PDB, or EDS (electron density
server) defaults.

set appletProxy "URL"

*Sets the URL for a proxy server when loading a file or reading a pmesh or
isosurface or when reading a file-based script. A proxy server is a
server-side application (typically written using PERL, PHP, or ColdFusion)
on the same host as the JAR file that can deliver files from other servers
on the internet. Jmol appends "?url=" followed by the URL of the requested
data file to the indicated proxy server name. Note that Java security
requires that this call be to the same server that hosts the JAR file.
*


*
*

Bob



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to