[Fix]: LimeSurvey - enable Apache mod_rewrite (#16767)

This commit is contained in:
Jonathan Starck
2026-08-26 21:27:12 +02:00
committed by GitHub
parent 0a6e59dab2
commit 89f5d3000e
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -28,6 +28,13 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
if [[ ! -L /etc/apache2/mods-enabled/rewrite.load ]]; then
msg_info "Enabling Apache mod_rewrite"
$STD a2enmod rewrite
systemctl restart apache2
msg_ok "Enabled Apache mod_rewrite"
fi
setup_mariadb
msg_warn "Application is updated via Web Interface"
+1
View File
@@ -60,6 +60,7 @@ cat <<EOF >/etc/apache2/sites-enabled/000-default.conf
EOF
chown -R www-data:www-data "/opt/limesurvey"
chmod -R 750 "/opt/limesurvey"
$STD a2enmod rewrite
systemctl reload apache2
rm -rf "$temp_file"
msg_ok "Set up LimeSurvey"