Re: Doing zope administration from remote computer
I am a newbie in networking and developing webserver. I have already succesfull to installed zope from source in my linux mandrake 9. But I don't know how to do administrative work from other computer, doing remote. My host is http://localhost:8080/ but after I type that host in other computer, it cannot be done except from my own computer which is installed the zope. It is normal 'cause localhost is what the word says: a host which is local to the current machine. It won't work from other machine.
How do I do remote administrative work anyway? Supposing that you are connected to the network of a company, then you have to use the hostname of your machine or ip address in case that you use something like dhcp. ie:
http://abc.def.ghi.jkl:8080/manage -> this should be your ip. Get this info by giving ipconfig in Windows, or ifconfig on linux. http://myhostname.mydomain:8080/manage Regards, Josef
On Fri, Jul 16, 2004, Josef Meile wrote:
I am a newbie in networking and developing webserver. I have already succesfull to installed zope from source in my linux mandrake 9. But I don't know how to do administrative work from other computer, doing remote. My host is http://localhost:8080/ but after I type that host in other computer, it cannot be done except from my own computer which is installed the zope. It is normal 'cause localhost is what the word says: a host which is local to the current machine. It won't work from other machine.
How do I do remote administrative work anyway? Supposing that you are connected to the network of a company, then you have to use the hostname of your machine or ip address in case that you use something like dhcp. ie:
http://abc.def.ghi.jkl:8080/manage -> this should be your ip. Get this info by giving ipconfig in Windows, or ifconfig on linux.
I typically put the zope interface on a private interface not accessible by the general public (e.g. 192.168.x.x:8080) allowing access from the private internal LAN or by appropriate VPN connections to the server. My main reason for doing it this way is that I haven't found a way to make ExternlEditor work on an Apache rewritten connection. When I have to access from a site where I can't get an IPSec tunnel (say behind a NAT firewall) I've used PPP over an ssh connection to get to the private address. It's also possible to handle this with apache rewrites using URLs specific to the management (e.g. http://www.example.com/zope/...) with the rewrites going to localhost:8080. Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``I don't care how little your country is, you got a right to run it like you want to. When the big nations quit meddling, then the world will have peace.'' Will Rogers
I use ssh tunneling a lot. e.g. assume you have a shell account on foo.yourcompany.com, and that zope is running on zope1.yourcompany.com:8080. (of course it also works fine if they are the same host). As long as there is a route from foo to zope1, and port 8080 is not blocked by a firewall, then you can use ssh tunneling as i describe. to test this, I log in to foo.yourcompany.com and do wget http://zope1.yourcompany.com:8080/ then i can do: ssh foo.yourcompany.com -L 8888:zope1.yourcompany.com:8080 ... and now on my desktop I can browse http://localhost:8888 and I am really seeing zope.yourcompany.com:8080 I do this a lot so I have some ports in my ~/.ssh/config, e.g. Host foo.yourcompany.com User (my user name goes here) ForwardX11 no GatewayPorts no LocalForward 8080 zope1.yourcompany.com:8080 LocalForward 8081 zope1.yourcompany.com:8081 LocalForward 8280 zope2.yourcompany.com:8080 LocalForward 8281 zope2.yourcompany.com:8081 ... On a Windows box you can do the same thing by configuring your ssh client appropriately. e.g. i know there's an option for port forwarding in PuTTY. but i forget where it is. -- Paul Winkler http://www.slinkp.com
participants (3)
-
Bill Campbell -
Josef Meile -
Paul Winkler