View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20691Bug reportsQuestion editorpublic2026-09-15 00:26
Reporterilot Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Summary20691: New editor does not load on IONOS shared hosting.
Description

The new editor only shows "Check permission" with an endless loading spinner.

This is caused by two issues.

  1. These endpoints initially return HTTP 500:

/rest/v1/version-info
/rest/v1/user-permissions

The .htaccess rewrite does not determine the correct base path.

Add:

RewriteCond %{REQUEST_URI}::$1 ^(.?/)(.)::\2$
RewriteRule ^(.*)$ - [E=BASE:%1]

and replace:

RewriteRule . index.php

with:

RewriteRule ^ %{ENV:BASE}index.php

See: https://stackoverflow.com/questions/21062290/set-rewritebase-to-the-current-folder-path-dynamically

This fixes /rest/v1/version-info.

  1. Authenticated REST endpoints return 401

After fixing the rewrite, /rest/v1/user-permissions and other authenticated endpoints return HTTP 401.

The browser sends the Bearer header, but on IONOS it is available in PHP as:

$_SERVER['REDIRECT_HTTP_AUTHORIZATION']

Add this fallback to getAuthBearerToken() in:

/limesurvey/application/libraries/Api/Rest/Endpoint/EndpointFactory.php

if (
!isset($headers['authorization'])
&& isset($_SERVER['REDIRECT_HTTP_AUTHORIZATION'])
) {
$headers['authorization'] =
$_SERVER['REDIRECT_HTTP_AUTHORIZATION'];
}

Apache seems to add the REDIRECT_ prefix during rewrites.

Related issue:

https://github.com/martialblog/docker-limesurvey/issues/302

WordPress also checks REDIRECT_HTTP_AUTHORIZATION as a fallback:

https://developer.wordpress.org/reference/classes/wp_rest_server/get_headers/

Steps To Reproduce

Steps to reproduce

Install LimeSurvey 7.1.0 on IONOS shared hosting in /limesurvey/.

Point xxx.yyy.com to /limesurvey/.

Open the new editor.

Expected result

The new editor loads.

Actual result

The editor shows "Check permission" with an endless loading spinner.

(Write here what happened instead)

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)7.1.0
I will donate to the project if issue is resolvedNo
Story point estimate0
Browser
Database type & versionMariaDB 11.8
Server OS (if known)
Webserver software & version (if known)
PHP Version8.4

Users monitoring this issue

ilot

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-09-15 00:20 ilot New Issue
2026-09-15 00:26 ilot Issue Monitored: ilot
2026-09-15 00:26 ilot Bug heat 0 => 2