Eva María Priego wrote: >Hi users, >I have a problem loading pdbs. The pdbs I want to show in our web page are >not in our server but in an different machine which data is mounted in the >server. I have tried a lot of things, but I can't make the applet load the >pdbs?. >Any help would be really appreciate it. > > Just to make sure we are talking about the same problem:
Does the phrase "in a different machine which data is mounted in the server" mean that the pdb files are available directly on the server file system, for example in the directory "/data/different_machine/pdb" (which is mounted for example by NFS from the other computer 'different_machine')? If the answer is 'yes', I would guess that this directory is not below the web servers start directory for html pages. If the start directory would be for example "/web_server/htdocs" and the data directory would be "/data/different_machine/pdb", it would not be possible for the Jmol applet to reach the pdb files. Since the applet is running on the users computer it must be able to reach the files with a URL. In this case you would have three options: 1) mount the data directory directly below the web servers start directory, for example as "/web_server/htdocs/pdb" 2) create a symbolic link from "/data/different_machine/pdb" to "/web_server/htdocs/pdb" (if your web server is a unix/linux computer; symbolic links might be disabled in your web server configuration, because they can cause a security problem) 3) use a CGI script that sends the data to the applet and that in principle has access to the complete file system of the server Regards, Rolf ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

