From 2befeec14fd51fe018fc729525789a47c2105f81 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Mon, 31 May 2021 10:04:23 -0400 Subject: [PATCH] 2021-05-31 Fred Gleason * Added symlinks to enable CGI processing in 'debian/postinst'. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ debian/postinst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 94b6c625..1b78db7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21718,3 +21718,5 @@ 2021-05-19 Fred Gleason * Hacked the build system to make the PyPAD module install correctly on Debian-ish systems. +2021-05-31 Fred Gleason + * Added symlinks to enable CGI processing in 'debian/postinst'. diff --git a/debian/postinst b/debian/postinst index 906a800d..324d133d 100644 --- a/debian/postinst +++ b/debian/postinst @@ -33,6 +33,8 @@ case "$1" in /bin/systemctl restart rivendell /bin/systemctl enable rivendell ln -f -s ../conf-available/rd-bin.conf /etc/apache2/conf-enabled/rd-bin.conf + ln -f -s ../mods-available/cgid.conf /etc/apache2/mods-enabled/cgid.conf + ln -f -s ../mods-available/cgid.load /etc/apache2/mods-enabled/cgid.load chown rivendell:rivendell /var/www/rd-bin/rdxport.cgi chmod 6755 /var/www/rd-bin/rdxport.cgi /bin/systemctl restart apache2