mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-29 15:51:02 +02: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!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
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
|
setup_mariadb
|
||||||
|
|
||||||
msg_warn "Application is updated via Web Interface"
|
msg_warn "Application is updated via Web Interface"
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ cat <<EOF >/etc/apache2/sites-enabled/000-default.conf
|
|||||||
EOF
|
EOF
|
||||||
chown -R www-data:www-data "/opt/limesurvey"
|
chown -R www-data:www-data "/opt/limesurvey"
|
||||||
chmod -R 750 "/opt/limesurvey"
|
chmod -R 750 "/opt/limesurvey"
|
||||||
|
$STD a2enmod rewrite
|
||||||
systemctl reload apache2
|
systemctl reload apache2
|
||||||
rm -rf "$temp_file"
|
rm -rf "$temp_file"
|
||||||
msg_ok "Set up LimeSurvey"
|
msg_ok "Set up LimeSurvey"
|
||||||
|
|||||||
Reference in New Issue
Block a user