SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
BackupPC 1.5.0 and Apache 2.0.40/RH8
Author Message
Post BackupPC 1.5.0 and Apache 2.0.40/RH8 
I've got RedHat 8 installed on a machine which is to become the main
backup server. I've never used BackupPC before but got everything
installed correctly (as far as I know) and it is in the process of
making a full backup of one machine.

Everything is great except for the CGI script which is giving me
Internal Server Errors. It is currently configured for suid. I figured
I'd give the mod_perl method a try, but it seems that everything in
BackupPC 1.5.0 is not compatible both with the syntax and the format of
Apache 2.0.40 (stock Red Hat Cool and mod_perl 1.99 (also stock Red Hat
Cool. I.E. the directives to enter into httpd.conf give faults when
starting apache. It seems that Apache::Registry is changed to
ModPerl::Registry::handler. I made the change in the config file, but
now I have have Access Forbidden.

Here is the httpd.conf snippet dealing with BackupPC

<IfModule mod_perl.c>
<Location /cgi-bin/BackupPC_Admin>
SetHandler perl-script
AllowOverride Indexes AuthConfig
Setenv REMOTE_USER backuppc
PerlHandler ModPerl::Registry::handler
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>
</IfModule>

I now get an error from CGI.pm asking for a non-existent Apache.pm. This
is using Perl 5.8.0

TIA,
--
Robert Cantu <rcantu < at > compgeo.com>



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post BackupPC 1.5.0 and Apache 2.0.40/RH8 
I think you would use just 'PerlHandler ModPerl::Registry', the handler
is the default method name. Here's the relevant parts of my httpd.conf,
Apache 2.0.44/Perl 5.8.0/RH 7.1:

LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
...
Alias /cgi/ /path/to/cgi/
<Location /cgi>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI

Order deny,allow
Deny from all
Allow from 192.168.0
AuthName "Backup Admin"
AuthType Basic
AuthUserFile /path/to/user_file
Require valid-user
</Location>


Don Silvia


-----Original Message-----
From: backuppc-users-admin < at > lists.sourceforge.net
[mailto:backuppc-users-admin < at > lists.sourceforge.net] On Behalf
Of Robert Cantu
Sent: Saturday, April 05, 2003 2:44 PM
To: backuppc-users < at > lists.sourceforge.net
Subject: [BackupPC-users] BackupPC 1.5.0 and Apache 2.0.40/RH8


I've got RedHat 8 installed on a machine which is to become the main
backup server. I've never used BackupPC before but got everything
installed correctly (as far as I know) and it is in the process of
making a full backup of one machine.

Everything is great except for the CGI script which is giving me
Internal Server Errors. It is currently configured for suid. I figured
I'd give the mod_perl method a try, but it seems that everything in
BackupPC 1.5.0 is not compatible both with the syntax and the
format of
Apache 2.0.40 (stock Red Hat Cool and mod_perl 1.99 (also stock Red Hat
Cool. I.E. the directives to enter into httpd.conf give faults when
starting apache. It seems that Apache::Registry is changed to
ModPerl::Registry::handler. I made the change in the config file, but
now I have have Access Forbidden.

Here is the httpd.conf snippet dealing with BackupPC

<IfModule mod_perl.c>
<Location /cgi-bin/BackupPC_Admin>
SetHandler perl-script
AllowOverride Indexes AuthConfig
Setenv REMOTE_USER backuppc
PerlHandler ModPerl::Registry::handler
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>
</IfModule>

I now get an error from CGI.pm asking for a non-existent
Apache.pm. This
is using Perl 5.8.0

TIA,
--
Robert Cantu <rcantu < at > compgeo.com>



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB