Backuppc Error 500

  • Also, so geht's irgendwie:


    du musst auf jeden fall ein eigenes virtualhost haben - wegen dem eigenen User.


    ich habe:


    den in /etc/apache2/conf.d liegenden Symlink backuppc.conf nach /etc/apache2/sites-enabled verschoben und so angepasst:


    Code
    1. <VirtualHost <deine ip>:80> <IfModule suexec_module> SuexecUserGroup backuppc backuppc </IfModule> ServerName <backuppc.passender.Server.Name>#Alias /backuppc /usr/share/backuppc/cgi-bin/ DocumentRoot /var/www/imscp/b/#<Directory /usr/share/backuppc/cgi-bin/><Directory /var/www/imscp/b/> AllowOverride None Allow from all # 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></VirtualHost>


    und dann im /var/www/imscp ein Verzeichnis b abgelegt (darf auch anders heissen). Da drin ein Verzeichnis backuppc und da die index.cgi und ein link image.
    Wichtig sind hier die Besitzer:Gruppe und Rechte.


    am besten Vergleichen:


    # ls -lR /var/www/imscp/b

    Code
    1. /var/www/imscp/b:
    2. insgesamt 4
    3. dr-xr-x--x 2 backuppc backuppc 4096 6. Jan 13:00 backuppc
    4. /var/www/imscp/b/backuppc:
    5. insgesamt 4
    6. lrwxrwxrwx 1 root root 25 6. Jan 12:50 image -> /usr/share/backuppc/image
    7. -rwxr-x--- 1 backuppc backuppc 3993 25. Nov 2009 index.cgi


    Damit komme ich dann rein.


    Wichtig: die tatsächliche URL ist dann http://<backuppc.passender.Server.Name>/backuppc/


    Ob dann auch alles damit funktioniert, weiss ich nicht. Aber es kommt eine Oberfläche...


    Sehr wahrscheinlich kann man es auch ausserhalb von /var/www/imscp machen... aber das kannste ja ausprobieren.


    Gruss J

    Edited once, last by joximu ().