/backuppc-httpd

Configuration files to integrate BackupPC with the apache web server

BackupPC configuration files for httpd

This repository provides configuration files for your apache2 web server and a systemd service file to run a dedicated instance of httpd.

When do I need these files?

You need these files if you need your web server for web development. BackupPC requires httpd running as the backuppc user but the default user for your web projects should be http or www-data depending on your Linux distribution.

How to start the web server?

After copying the files to the right locations you start the systemd service as follows.

sudo systemctl start httpd-backuppc

Alternatively you can start it manually by executing

sudo apachectl -f /etc/httpd/conf/backuppc.conf

How to install?

Just copy the files to

  • backuppc.conf /etc/httpd/conf
  • httpd-mpm-backuppc.conf /etc/httpd/conf/extra
  • httpd-backuppc.service /usr/lib/systemd/system

If you are using Arch Linux, it provides a PKGBUILD for these files. All you need to do here is to run the following commands.

mkdir /tmp/backuppc-httpd
cd /tmp/backuppc-httpd
wget https://aur.archlinux.org/packages/ba/backuppc-httpd/PKGBUILD
makepkg -si