BackupPC-users

Re: [BackupPC-users] No CGI Interface?

2008-06-04 17:50:53
Subject: Re: [BackupPC-users] No CGI Interface?
From: Chris Robertson <crobertson AT gci DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 04 Jun 2008 12:45:32 -0800
Johnny Stork wrote:
> I just installed BPC on a RHEL4 machine, but when trying to access the 
> gui at http://serverip/cgi-bin//BackupPC_Admin I just see the 
> text/contents of the perl script? No gui?
>
> Any suggestions?

Here are the steps I used to get the CGI interface working on a fresh 
(minimal) CentOS 4.6 install:

* Install httpd-2.0.52, apr-0.9.4, apr-util-0.9.4 and http-suexec-2.0.52 
RPMs (the last three for dependancies).
* When running configure.pl (from the extracted BackupPC install files) 
specify apache as BackupPC should run as user, "/var/www/cgi-bin" as the 
CGI bin directory, /var/www/html/BackupPC as the Apache image directory 
and /BackupPC as the URL for image directory.
* (Optional)  After install completes, run the following command as root:
cp /path/to/install/files/init.d/linux-backuppc /etc/init.d/backuppc && 
chkconfig backuppc on && chown apache /data && service backuppc start"

Surf to http://backupserver/cgi-bin/BackupPC_Admin.  At this point you 
should not have admin access (since you haven't been prompted for 
authentication), but at least the CGI should run.

If your setup deviated from this, please elaborate.

Chris



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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>