Hi,

I use BackupPC on a https only server, I wanted to enable RSS feeds and came 
across a bug.

In RSS.pm the base url is set as:
    my $base_url = 'http://'. $ENV{'SERVER_NAME'} . $ENV{SCRIPT_NAME};

This cannot work on a https only environment, I changed this to :
    my $protocol = 'http://';
    if ( $ENV{'HTTPS'} eq "on" ) {
        $protocol = 'https://';
    }
    my $base_url = $protocol . $ENV{'SERVER_NAME'} . $ENV{SCRIPT_NAME};

Other that that I am really pleased wit BackupPC well done !

Samuel.

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to