Current time: 12-23-2024, 12:29 PM Hello There, Guest! (LoginRegister)


Post Reply 
Backuppc
Author Message
morb Offline
Newbie
*

Posts: 6
Joined: Jun 2009
Reputation: 0
Post: #1
Backuppc
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>
02-22-2010 12:24 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Backuppc
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.
02-22-2010 04:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)