Hi Miguel (and others),

Thanks for your help.  The jmol cgi script is now running on my machine. 

It has a strange issue when I view it on internet explorer, though.  I pull
up the cgi script:  http://dev.molmovdb.org/cgi-bin/jmol.cgi?mid_=hivprot ..
and it works.  Then I click the refresh button and the viewer window
disappears.  On another machine, the viewer window doesn't show up at all,
even initially.  Does anyone know of special problems with internet explorer
to watch out for?

Sam

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miguel
Sent: Monday, June 20, 2005 6:01 PM
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] making jmol cgi script?

> I'm trying to make a jmol page using cgi rather than static html.

Other people have this running successfully.

> In the
> past, I've had my cgi script write an html document with jmol content to
> my
> htdocs directory.  Then the user would be redirected to the html document.
> However it would be more elegant to have the cgi script spit out jmol
> content directly.  When I try to do this, though, I just get a little icon
> showing a page with a folded corner and a red "X", instead of a jmol
> image.
>
> Can anyone tell me what's wrong?

Could be any number of things.

> I have the jmol directories where they
> should be.

I strongly suspect that the problem is with your directories.

An important thing to look for is whether or not you are trying to read
files out of your cgi-bin directory. Web servers usually will not allow
you to do this. And you need to get your data directories correct.

Some pointers:
 - look at the access log on the web server
 - look at the error log on the web server
 - if you are using a cgi-bin directory, then you problably (depending
upon your web server configuration) cannot put Jmol.js and/or data and/or
script files in the cgi-bin directory.
 - use Mozilla with the JavaScript console turned on
 - do view -> source on the client to see that the code looks correct.
 - remember that all directory paths in the html that is generated and in
the calls to Jmol.js routines are from the perspective of the browser ...
completely independent of the web server.
 - try enabling cgis in someplace other than cgi-bin and see if you can
get it running from there. If so, then you do not have directory access
configured correctly.


Miguel



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to