BackupPC-users

Re: [BackupPC-users] "Harmless button" when trying to start backups using links browser

2009-04-22 22:52:08
Subject: Re: [BackupPC-users] "Harmless button" when trying to start backups using links browser
From: Holger Parplies <wbppc AT parplies DOT de>
To: Rob Owens <rowens AT ptd DOT net>
Date: Thu, 23 Apr 2009 04:47:31 +0200
Hi,

Rob Owens wrote on 2009-04-22 21:23:08 -0400 [Re: [BackupPC-users] "Harmless 
button" when trying to start?backups using links browser]:
> [...]
> If you have an ssh server running on the BackupPC machine, you can use
> port forwarding as somebody else suggested:
> 
> ssh -L 8080:localhost:80 user@backuppcserver
> 
> This will log you in as "user" on "backuppcserver".  As long as that
> session is open, your local port 8080 will be "forwarded" to port 80 on
> backuppcserver.  So in your web browser, go to this address:
> 
> http://localhost:8080/backuppc

yes, this has been pointed out several times in this thread. What has
not been pointed out is that this becomes somewhat awkward if you are
using vhosts on your web server, because you will then need to use the
correct host name in the URL. Thus, you'll probably need to add a line
like

        127.0.0.1 backuppc.domain.com

to /etc/hosts and then use the URL

        http://backuppc.domain.com:8080/backuppc

(adjust to what you would use locally on the server). You probably
won't want to keep the line in /etc/hosts, though. In fact, you might
be using that name to connect with ssh (though you can get around that
with .ssh/config or by using the IP or a different DNS name of the
server ...).

An alternative solution would be to use the normal URL and set your
browser to use localhost:8080 as proxy ... just make sure you don't
try to browse any other web pages with that setting ;-).

Regards,
Holger

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/