[Webcollab-users] Accessing WebCollab with different URLs
Brought to you by:
andrewsimpson
From: Patrick M. <pat...@ci...> - 2005-05-05 20:29:18
|
Newb question: I recently installed webcollab (v1.70) on a machine behind a firewall. The BASE_URL is "http://inside-name/webcollab/", which gives me easy access from all the local computers. I want to access it from home through the firewall and I have been using ssh tunneling. So from home it is something like "http://localhost:1234/webcollab/", which doesn't work because the redirects contain the BASE_URL, which has no meaning outside of the office. To be specific, I set up ssh $ ssh -L 1234:localhost:80 me@firewall-ip:forwarded-ssh-port and browse to http://localhost:1234/webcollab/ I get the login screen, but it fails after that. I have a work-around, where I add "inside-name" to my hosts file as an alias for 127.0.0.1, and set up my ssh tunnel to use local port 80. It works, but to use port 80 requires root privileges on Linux, and if I am running a web server on my local machine, I have to shut it down. This works: In hosts file: 127.0.0.1 localhost inside-name $ ssh -L 80:localhost:80 my@firewall-ip:forwarded-ssh-port and browse to http://localhost/webcollab/ or http://inside-name/webcollab/ Does anyone know a better way to do this? Thanks, Patrick McCabe |