mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2026-08-27 08:27:02 +00:00
[Fix]: LimeSurvey - enable Apache mod_rewrite (#16767)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user