Hi!
It's good to cover basics, I am sure this is basic somewhere....
I do have a symling
/etc/apache2/conf.d/backuppc.conf -> /etc/backuppc/apache.conf
the content of that conf-file is what I posted below.
It's placed there by the installation, not manually by me.
I have restarted apache and even rebooted several times. And I try to
access locally (localhost or 127.0.0.1) as well as remotely and then
using the server ip. Other web services, such as phpmyadmin, works
nicely both locally and remotely, so apache seems to function as such.
I have a hunch that there is something wrong with permissions in the
/usr/share/backuppc directory, that is set as target for the alias
/backuppc. Currently, permissions are:
$ ls -l /usr/share | grep backuppc
drwxr-xr-x 8 root root 4096 mar 16 10:48 backuppc
$ ls -l /usr/share/backuppc
totalt 24
drwxr-xr-x 2 root root 4096 mar 16 10:48 bin
drwxr-xr-x 2 www-data www-data 4096 mar 16 10:48 cgi-bin
drwxr-xr-x 2 root root 4096 mar 16 10:48 conf
drwxr-xr-x 2 root root 4096 jan 9 2013 doc
drwxr-xr-x 2 root root 4096 mar 16 10:48 image
drwxr-xr-x 4 root root 4096 mar 16 10:48 lib
I've manually set the permissions for cgi-bin directory to the apache
user www-data, but that did not help.
More ideas on what I should check?
Best,
Magnus
2014-03-16 14:07, Mark Ehle skrev:
Make sure that the apache configuration tells apache what to serve up
when you hit that url. In my installation, I have a symlink from
/etc/backuppc/apache.conf to a file called backuppc.conf in my
/etc/apache2/conf.d directory. I can't remember if the stock install
puts that there or not. And then you have to restart apache.
Are you trying to reach the web interface from another computer? The
IP address will be different. Not trying to insult you, just covering
all the bases.
On Sun, Mar 16, 2014 at 6:32 AM, Magnus Larsson <[email protected]
<mailto:[email protected]>> wrote:
Hi!
I am reinstalling Backuppc on a Ubuntu 13.10 server, but cannot
get the web interface to run. I have set permissions:
$ ls -l /var/lib | grep backuppc
drwxrwxr-x 8 backuppc backuppc 4096 mar 16 10:48 backuppc
Then installed:
$ sudo apt-get install backuppc
But then the web interface does not run. I get a 404-error when
trying either localhost/backuppc or 127.0.0.1/backuppc
<http://127.0.0.1/backuppc>.
What to check? I have not changed anything in the
/etc/apache2/backuppc.conf, see below.
Fil: /etc/apache2/conf.d/backuppc.conf
Alias /backuppc /usr/share/backuppc/cgi-bin/
<Directory /usr/share/backuppc/cgi-bin/>
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
AuthUserFile /etc/backuppc/htpasswd
AuthType basic
AuthName "BackupPC admin"
require valid-user
</Directory>
What to check or change?
Best,
Magnus
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases
and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
BackupPC-users mailing list
[email protected]
<mailto:[email protected]>
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/