> -----Original Message----- > From: Robert Leach [mailto:[EMAIL PROTECTED]] > Thats the Problem its not the same machine. > > Evil I-> Apache running mod_proxy -> Appserver running VNC > > The appserver cannot see the evil I only the apache server. > > Both are unix boxes > > Now are you saying to create a /usr/apache/vnc/htdocs/vnc > directory alias > /vnc to that (which isnt proxy'ed?) and copy and modify just > index.vnc, and > index.html there? and then copy everything from the appserver > /opt/sfw/vnc/classes to the apache server into > /usr/apache/vnc/htdocs/vnc/classes?
I was in the impression that the apache server and the vnc server are both the same machine. Now I see apache and vncserver are different machines, some things will differ. Best to first get the vncviewer application working. Once that works, you can try the webserver idea. Minor thing here: Java applications can only connect back to the originating machine, not to other machines. Hence, if the vncviewer app addresses the appserver to view, it also has to serve the webpage (httpport and httpdir options). As this uses an other port than the rfb connection, it also needs an other route trough the proxy service. IF the vncviewer addresses something at the apachewebserver to view the appserver, the apache webserver can serve the pages as described. Who stops you from testing the setup at the apache webserver itself? Success CBee > > __________________________ > Robert Leach > ECOS Technologies > 1410 Broadway, 27th Floor > New York, NY 10018 > Phone: 212.944.8286 x20 > Fax: 212.944.8852 > [EMAIL PROTECTED] > www.ecostech.com > Only the named recipient(s) should read this e-mail. It may contain > privileged or confidential information. If you are not a > named recipient or > you received this email by mistake, please notify me > immediately by reply > email and delete the message. > > > > -----Original Message----- > From: "Beerse, Corni" [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 04, 2002 3:27 AM > To: '[EMAIL PROTECTED]' > Subject: RE: Proxying using apache mod_proxy for VNC > > > > -----Original Message----- > > From: Robert Leach [mailto:[EMAIL PROTECTED]] > > I am trying to proxy VNC through an apache webserver > > running mod_proxy as > > the machine where VNC is running is not accessable by the internet. > > > > I have proxy'ied 5801 and am able to get the login screen fine. I > > proxy'ied 5901 and get RFB 003.003 but when I put the > > password in and hit > > connect it just sits there. Is it possible to proxy it at > > all? Here is my > > apache virt host section to proxy. > > If the same machine is running both apache and vncserver, > then there is no > need to do anything whith the http ports (5800 range) of the > vncserver, use > apache for it. If on a M$WIndows machine, get a unix distribution and > extract the files 'vncviewer.jar' and 'index.vnc' from that > one. On unix > machines, just use the local distro, it's in the > .../vnc/classes/ directory. > > In the apache http area, create a directory that is served at > http://machine/vnc and put the files in there. Then copy index.vnc to > index.html (or your default file name) and fill out the > variables in there > according to the comment at the top of the file. Fill out all > variables to > reasonable values. The mentioned port is the vncviewer port > (5900 range) and > for the height of the java applet, add 30 points for the top > buttons. (or > get the html source from your browser with the current > runnign session. _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
