[BackupPC-users] BackupPC 3.3.0 on CentOS 6.5 with Plesk-generated VirtualHosts
2014-07-31 06:55:56
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.
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.
Kind regards,
Boris
/etc/httpd/conf.d/BackupPC.conf:
<Directory /usr/share/BackupPC/>
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAll>
Require valid-user
<RequireAny>
Require local
</RequireAny>
</RequireAll>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
order deny,allow
deny from all
allow from 127.0.0.1
allow from ::1
allow from all
require valid-user
</IfModule>
</Directory>
Alias /BackupPC/images
/usr/share/BackupPC/html/
ScriptAlias /BackupPC
/usr/share/BackupPC/sbin/BackupPC_Admin
ScriptAlias /backuppc
/usr/share/BackupPC/sbin/BackupPC_Admin
------------------------------------------------------------------------------
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>
|
- [BackupPC-users] BackupPC 3.3.0 on CentOS 6.5 with Plesk-generated VirtualHosts,
Dr. Boris Neubert <=
|
|
|