Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: sonoracomm on August 15, 2007, 02:33:26 AM

Title: Customized 27ManagerProxyPass for SAIL Breaks BackupPC
Post by: sonoracomm 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
Title: Re: Customized 27ManagerProxyPass for SAIL Breaks BackupPC
Post by: SARK devs 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

Title: Re: Customized 27ManagerProxyPass for SAIL Breaks BackupPC
Post by: Daniel B. 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
Title: Re: Customized 27ManagerProxyPass for SAIL Breaks BackupPC
Post by: SARK devs 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