Koozali.org: home of the SME Server

Customized 27ManagerProxyPass for SAIL Breaks BackupPC

Offline sonoracomm

  • *
  • 208
  • +0/-0
    • http://www.sonoracomm.com
Customized 27ManagerProxyPass for SAIL Breaks BackupPC
« on: August 15, 2007, 02:33:26 AM »
After much troubleshooting, I determined that the SAIL custom 27ManagerProxyPass fragment keeps the BackupPC contrib admin interface from working properly.

I studied the fragment for a good while, but I don't know perl and I don't really understand what 27ManagerProxyPass does.

The BackupPC contrib adds redirects with rewrite rules to both the <VirtualHost 0.0.0.0:80> and <VirtualHost 0.0.0.0:443> sections:

Code: [Select]
## Redirect Web Address to Secure Address
RewriteEngine on
RewriteRule ^/backuppc https://%{HTTP_HOST}/backuppc
## End Of Redirect

I suspect the problem is with the redirects.  It also adds:

Code: [Select]
ScriptAlias /backuppc/cgi-bin /opt/backuppc/cgi-bin
Alias       /backuppc         /opt/backuppc/images

<Directory /opt/backuppc/images>
    Options None
    Options +Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.0.0/255.255.255.0 192.168.2.0/255.255.255.0
</Directory>

<Directory /opt/backuppc/cgi-bin>
        SSLRequireSSL on
        Options ExecCGI
        AllowOverride None
        order deny,allow
        deny from all
        allow from 127.0.0.1 192.168.0.0/255.255.255.0 192.168.2.0/255.255.255.0
        AuthName "Administration du serveur de sauvegarde"
        Satisfy all
        AuthType Basic
        AuthExternal pwauth
        Require valid-user
</Directory>

Can anyone give me any pointers on how to modify either the BackupPC or the SAIL fragments to get them to work togeter?

Thanks in advance,

G

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Customized 27ManagerProxyPass for SAIL Breaks BackupPC
« Reply #1 on: August 15, 2007, 06:08:28 AM »
Hi G

What they are doing seems benign enough but I don't know this backupPC contrib.  How is it installed?  rpm? script?

Where do they do their modification ?  templates? templates-custom?

On the face of it, it looks easy enough to fix but I just need the above questions answered.

thx

S


Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Customized 27ManagerProxyPass for SAIL Breaks BackupPC
« Reply #2 on: August 17, 2007, 09:54:58 AM »
Hi.

This contrib can be installed with a rpm. You can find it here: http://sme.firewall-services.com/spip.php?article44

I haven't try the sail contrib. I'll try to have a look at this 27ManagerProxyPass fragment to see what's going wrong, and how it can break backuppc


Cheers, Daniel
C'est la fin du monde !!! :lol:

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Customized 27ManagerProxyPass for SAIL Breaks BackupPC
« Reply #3 on: August 17, 2007, 12:47:54 PM »
Hi

In Globals, in the Proxy Ignore List: put...
Code: [Select]
backuppc /backuppc
Hit commit.

Try running your other contrib again.

Best

S