Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ct/limesurvey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi

# mod_rewrite is required by the shipped .htaccess (for upgrades from older versions)
Comment thread
asylumexp marked this conversation as resolved.
Outdated
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"
Expand Down
1 change: 1 addition & 0 deletions install/limesurvey-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down