You are not logged in.
Pages: 1
Topic closed
I'm new to Arch Linux but so far I had no major issues installing Arch, a web server (Apache), etc on this PC (Dell Vostro 200). However what seemed to be the easiest installation - Backuppc - is turning out to be the most complicated. I've followed the Backuppc Arch Linux wiki (https://wiki.archlinux.org/index.php/BackupPC) but I'm having a lot of issues to run the admin page on a different pc. At first it did not run the perl scripts, just displayed the code. After compiling the small bit of C code and moving the files around as per instructions it's now downloading the BackupPC_Admin file instead of running it. I don't know C code so there must be something I'm not doing quite right. Any help is much appreciated. Thank you. Note: there's no graphical interface on linux machine, access done via PuTTY.
Offline
I’ve got the same problem here. The binary is downloaded instead of being run. If I run /usr/share/backuppc/cgi-bin/BackupPC_Admin from the command line, it seems to work: It prints HTML output to the terminal.
Any help would be greatly appreciated.
Offline
Ok, it seems like I got it to work at least partially: In /etc/httpd/conf/httpd.conf, the following line was commented out:
LoadModule cgi_module modules/mod_cgi.so
I removed the # and restarted the server, now the site is running.
However, the browser does not have access to various other files, like logos, css and js files. I will look further into this...
Offline
Ok, I also got the other problem solved:
My knowledge of apache is quite limited, but if I understand correctly, there recently was an update to version 2.4, which uses a different syntax for access control. The config file provided by the backuppc package, however, still uses the old syntax.
I changed /etc/httpd/conf/extra/backuppc.conf to the following:
<Directory /usr/share/backuppc/cgi-bin>
# This section tells apache which machines can access the interface.
# You can change the allow line to allow access from your local
# network, or comment out this region to allow access from all
# machines.
Require ip 127.0.0.1
# You can change the authorization method to LDAP or another method
# besides htaccess here if you are so inclined.
AuthType Basic
AuthUserFile /etc/backuppc/backuppc.users
AuthName "BackupPC Community Edition Administrative Interface"
require valid-user
</Directory>
<Directory /usr/share/backuppc/html>
Require host example.org
</Directory>
Alias /backuppc /usr/share/backuppc/html
ScriptAlias /BackupPC_Admin /usr/share/backuppc/cgi-bin/BackupPC_Admin
with example.org replaced by my real hostname. I’m not sure if this configuration is completely correct, but it seems to work for me.
Offline
This not working for me.
My new Apache 2.4 no start with old httpd.conf file. I replaced the file with the new httpd.conf.pacnew and I added lines:
LoadModule perl_module modules/mod_perl.so
Include conf/extra/backuppc.conf
And changed:
User http
Group http
For:
User backuppc
Group backuppc
But the Web interface still is not working. The Web browser open the BackupPC_Admin file in plain text.
I has open this bug report:
https://bugs.archlinux.org/task/41201
Offline
Did you uncomment the following line in /etc/httpd/conf/httpd.conf?
LoadModule cgi_module modules/mod_cgi.so
Last edited by Sharraz (2014-07-17 00:09:09)
Offline
Hi everybody,
same problem for me, but, in fact, I gave just
http://......./backuppc/
and not
http://......./backuppc/index.cgi
So, it seems to be an issue, because my dir_module was on....
With ..../index.cgi at the end, it work !
Serge
Offline
Welcome to Arch Linux. And thank you for your relevant contribution.
This is a bit of an old thread, so I am going to go ahead and close it now.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed