ispCP - Board - Support
Backuppc - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Backuppc (/thread-9701.html)



Backuppc - morb - 02-22-2010 12:24 AM

Hi how can I run backuppc ?

I get this error when I try to acess it

[2010-02-21 14:22:52]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: index.cgi
[2010-02-21 14:22:52]: command not in docroot (/usr/share/backuppc/cgi-bin/index.cgi)


Alias /backuppc /usr/share/backuppc/cgi-bin/

<Directory /usr/share/backuppc/cgi-bin/>

AllowOverride None

# Uncomment the line below to ensure that nobody can sniff importanti
# info from network traffic during editing of the BackupPC config or
# when browsing/restoring backups.
# Requires that you have your webserver set up for SSL (https) access.
#SSLRequireSSL

Options ExecCGI FollowSymlinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi

AuthGroupFile /etc/backuppc/htgroup
AuthUserFile /etc/backuppc/htpasswd
AuthType basic
AuthName "BackupPC admin"
require valid-user

</Directory>


RE: Backuppc - kilburn - 02-22-2010 04:10 AM

Apache's suexec refuses to execute anything that is not inside "/var/www".

Therefore, a possible quick solution is to move the /usr/share/backuppc folder to /var/www/backuppc, symlink /usr/share/backuppc -> /var/www/backuppc, and setup your virtual host so it uses /var/www/backuppc as the path.

Additionally, you have to make sure that the cgi files are owned by vu2000:vu2000.