BackupPC-users

Re: [BackupPC-users] BackupPC 3.3.0 on CentOS 6.5 with Plesk-generated VirtualHosts

2014-07-31 12:45:46
Subject: Re: [BackupPC-users] BackupPC 3.3.0 on CentOS 6.5 with Plesk-generated VirtualHosts
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 31 Jul 2014 11:44:05 -0500
On Thu, Jul 31, 2014 at 5:54 AM, Dr. Boris Neubert <omega AT online DOT de> 
wrote:
> Hi,
>
> I installed BackupPC 3.3.0 via yum on CentOS 6.5 on a VPS in the
> standard setup (CGI with setuid BackuPC_admin). The
> BackupPC-3.3.0-2.el6.x86_64 package drops the BackupPC.conf Apache
> configuration file (below) in Apache's default server configuration
> directory. Added the perl-suidperl-5.10.1-136.el6.x86_64 and BackupPC
> worked right out of the box. Great.
>
>
> What caused me several hours of fruitless messing around with Apache's
> config files was the following (IP addresses and host names for
> illustrative purposes only):
>
> The web interface can be accessed via the VPS's IP address:
> http://192.0.2.1/backuppc
>
> But I get the "Premature end of script headers" issue if I use the host
> name instead of the IP address:  http://backuppc.example.com/backuppc
>
> This is probably related to the way the BackupPC_Admin program proceeds
> in terms of perl script calls and hostnames.

No, the script shouldn't care how got there.  You are probably hitting
a different apache vhost configuration when you use the host name.

> example.com and backuppc.example.com are configured via VirtualHost
> directives automatically by the Paralles Plesk Power Panel.
>
> This is not strictly a BackupPC question. But maybe someone has a hint
> for me anyway. In particular to what the BackupPC_Admin binary actually
> does.
>

The BackupPC_admin binary is just a suid wrapper to replace the way perl did it:

https://bugzilla.redhat.com/show_bug.cgi?id=611009

But the place to look for your problem is how your additional named
vhost configurations affect apache and how they relate to the
/etc/httpd/conf.d/* files that are included in the global config.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>