Rich wrote:
> I think Tim said what I was trying to get to: does a cgi script get run
as the same 'user' as the http process as far as the applet is
> concerned?

Huh? Guys ... I am getting lost.

on my OSX box apache runs as the user www
any cgi's that were launched via urls would also be run as the user www

> Or are their some subtle differences? My 'first-cut'
> observation is that this is true but I don't have any technical
> specifics to back that up.

*IF* you are observing differences then this is the only thing that I can
think of ...

An applet gets loaded with a 'documentBase'. This is the directory where
the applet was loaded from. I suppose that it is possible that the Java
Plugin may be doing something different with the document base.

*** 15 minutes later ***

I did some testing. I wrote some simple test pages as .html files and as
.pl cgi scripts.

They fetch a molecule from another directory ... either as a straight file
or through a cgi script.

All combinations work fine for me.

Files are attached. You need to supply your Jmol.js and JmolApplet*.jar
files.

There are hidden .htaccess files in each of the directories.

I configured apache to 'AllowOverride Options' so that it would allow me
to configure +ExecCGI in specific directories using .htaccess

My configuration was:

server: apache on linux
client: safari on osx
client: IE + MSFT JVM on Win32
client: Mozilla + Java Plug-in on Win32


Rich, review this stuff and let me know if you are able to make any headway.



Miguel

Attachment: jmolcgi.tgz
Description: application/compressed-tar

Reply via email to