Closed Lx closed 3 months ago
Check this answer I got on another site: https://forums.limesurvey.org/forum/installation-a-update-issues/156174-remove-index-php-from-url-s#265882
Hi @Lx ,
Thanks!
Please set this env var and you can hide the index.php file:
Adam
Thanks Adam, and sorry—I’m frustrated that I somehow missed that setting in the README earlier. Working perfectly.
Hi Adam,
Thank you for your ongoing efforts to offer up-to-date versions of LimeSurvey as a Docker container.
I've noticed that a lot of URLs are showing up with a superfluous
index.php/
in them:https://limesurvey.mydomain/index.php/772916
https://limesurvey.mydomain/index.php/admin/index
Interestingly, the URLs all work even when the
index.php/
component is removed, so the issue seems to be more to do with URL generation. Looking at the source of generated pages, they do indeed containindex.php/
in all their outgoing links.In your view, is this likely to be a direct LimeSurvey limitation or potentially something that can be dealt with via the Dockerfile somehow? I know that these things can sometimes be tweaked with environment variables or the like—I'm yet to delve too deeply into the Configuration section of the manual.
—Alex