Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: mike mattos on December 31, 2002, 02:07:01 AM
-
I tend to use a windows station to work with html ( hard to see thje graphics on the SME console ! )
I just installed some java on the SME5.5 and I'd like to access the workspace
/var/tomcat4/webapps from my html machine, but apart from good old kermit, I can't figure out how to do it! ( possibly by ln the webapps to an ibay , but I'm afraid that won't work for some pathing )
Is there a way to create an i-bay similar to creating a windows SHARE ?
thx
mike
-
What do you use to edit html? If you use putty (available @ http://www.acenet-tech.org/cdj/windowz_toolz/) with ssh you can access the files directly remotely and edit using 'mc' (midnight commander F4). This is how I manager all my web interfaces from a remote machine. mc is a great tool for use with SME.
-
Alternatively, if you create an Ibay and place the files you edit in the ibay/html directory you can then map a drive to that folder on your windows machine. The ibay dir would also be accessible at http://yourdomain.com/ibay_name (so long as you create the ibay with such access).
-
http://www.shiloh.stclair.k12.il.us/bk/esmith/ssh.htm
third option :-)
-
I'm already using putty, so I can do minor edits, but I'm developing on an NT machine, and while I can access my i-baysdirectly, I've also installed Tomcat4 ( java server ) and it has put the java environment into something like /var/tomcat/webapps and I would like to access those files from windows!
With or without putty, I still only see my ibays on the network neigborhood!
I'd like to create shares like on NT where I can point to a subdirectory and set its private password!
-
You need to specify WHERE the i-bay points to when you create the I-bay. That way you can create an I-bay webapps, and point it to the existing /var/tomcat/webapps directory. I too have wondered how to do this. And short of modifying smb.conf everytime I make any changes, I don't know how to do it. Does anyone know how to specify the mount point for an i-bay on creation rather than letting SME decide?
-
You can't specify the location of an ibay during creation. SME server isn't designed to work that way.
ibays are by default created in /home/e-smith/files/ibays/
You can do one of several things:
Once the ibay is created, make one or more symbolic links from wherever your desired folders are, to the related ibay folders. Keep in mind that an ibay has the following folder structure:
myibay ->
/files (this is the directory shared by Samba)
/html (Apache 'publishes' html in this dir)
/cgi-bin (files in here are executable by Apache, via the url http://servername/ibayname/cgi-bin/programname)
So, if you had a bunch of files in another location that you would like to share, symbolically link that directory to /home/e-smith/files/ibays/youribayname/files/
Likewise, do the same for any HTML or CGI-BIN dirs you might have.
If this isn't enough, then you'll need to look at creating custom templates to do the job for you.
-
Hi all,
I don't mean to hijack this thread, but I'm having similar issues.
I created the symlinks as you suggested, Mike. I can ssh into my home directory and hit the link to see the ibay files. But I can't seem to upload anything. I'm in the group that has write access to the ibay, but it won't let me. I can either su and transfer files manually, or map the ibay to a Windows box on the local network. Is it even possible to write directly to an ibay from a remote machine?
Thanks and sorry about the hijack, mike m.
Mark