>> That is the relative path from the perspective of a user of your web >> server, even though it is not the relative path within your local file >> system. > > After a struggle I did get this to work, but I do not know why it works. > I just followed what the error messages in the log were saying it could > not find and finished with ../../../jmol which does not make sense to me > at present but I guess I'll figure it out some time.
I agree that it does not make sense. All requests for files are from the perspective of the client machine. The relative paths using .. are from the perspective of the Java Plugin running on the client machine. > The installation I > am working on (not my own machine) has so many links to the different > web directories that it is difficult to follow some times. OK > The cgi > script is also writing scripts to later run in different directories and > changing the current directory in the script. That sounds quite ugly ... and is probably the source of the confusion. >> Separately ... >> >> Let me know if you encounter problems when configuring this using a cgi >> directory. A few months ago someone contacted me and they had many >> problems. I don't rememeber exactly what was going on, but I have the >> impression that the java plugin was doing something strange. In that >> case, >> he ended up fixing the problem by using .htaccess to allow cgis to >> execute >> from within his htdocs tree. >> >> I don't remember exactly what happened, but I have this feeling that I >> tried out a simple applet and saw that the codebase was messed up when >> the >> applet was served out of a cgi-bin directory. > > I did not have to do anything special. It works fine. Essentially > htdocs, cgi-bin abd cgi-data directories are all in /var/www. That is the standard place for most (all?) linux distributions. > The third > is where data is written in sub-directories. One application for example > does the following in the cgi script:- > > Read a Z-matrix and other data to construct a Gaussian input com file. > Set up data to run Gaussian for this file. > Uses babel to translate the com file to a pdb file. > Queues the gaussian job. > Uses jmol to display the molecule on the page that reports what has been > done. > E-mails the Gaussian run to the user when it finishes. OK > One small concern is that each run gives many error messages in the web > error log where it is searching for stuff in org/openscience. These are language translation messages. The Java plugin mechanism for supporting translations is (in my opinion) broken. If someone is looking for a task to work on, I would like to rewrite the localization mechanism so that it does not use the standard Java libraries. > I found a > message in the archives explaining this and suggesting they can be > ignored, but I'll have to ask the administrator to rotate the log file > to stop it getting very large. By default the web server log files will be rotated automatically. Unless your administrator has done something to disable this (which I highly doubt), then you should not have to worry about it. Miguel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users