View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20045 | Bug reports | Survey taking | public | 2025-04-02 18:12 | 2025-04-24 16:56 |
| Reporter | baltzis | Assigned To | gabrieljenik | ||
| Priority | none | Severity | block | ||
| Status | assigned | Resolution | open | ||
| Product Version | 6.6.x | ||||
| Summary | 20045: Survey alias: share survey link = not found | ||||
| Description | See bug ID 19420. It seems that after the last update to Version 6.12.3+250331, the bug reappeared. | ||||
| Steps To Reproduce | Steps to reproduceGo to text elements of any survey Expected resultThe survey should start Actual resultThe "not found" error page appears | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | Community edition Version 6.12.3+250331 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Any (Firefox. Chrome, Edge) | ||||
| Database type & version | mysql, mysqlnd 8.3.6 | ||||
| Server OS (if known) | Linux surveysjour 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC | ||||
| Webserver software & version (if known) | Apache/2.4.58 (Ubuntu) | ||||
| PHP Version | 8.3.6 | ||||
|
Couldn't reproduce this. Can you provide more info about your config file? Ex: Do you use custom configuration for publicurl? |
|
|
I have not touched any config file. Besides, I would not know which file and what to do. Therefore, the answer is no. I don't use any custom configuration for publicurl. In the config.php file there is no 'publicurl' and in the config-defaults.php file, these are the lines under 'Advanced Setup': // The public URL is the URL that is used for anything that is facing a survey participant. $config['assets'] = 'assets/'; // URL definitions |
|
|
I just found out that if i add "/index.php/" before the alias name in the URL, the URL works just fine! More specifically, when I add an alias in "Survey alias:" field, the URL becomes "https://newsurveys.jour.auth.gr/alias" and then we get the "page not found" error. But, if I write the URL as "https://newsurveys.jour.auth.gr/index.php/alias", the error does not appear and the survey is launched. This must be a bug. |
|
The alias is made as to be as short as possible. so index.php is not expected. Do you have a custom htaccess? Thanks! |
|
|
We have not made any changes to the htaccess file, whatsoever. All lines in this file have the default values since the installation. |
|
|
I am sorry we can't reproduce it. |
|
|
Could there be an issue the fact that LimeSurvey is installed in a virtual machine? |
|
|
I believe there is an issue with the htaccess. But just a guess |
|
|
If so, is there any point in uploading here the htaccess file? |
|
|
@tibor.pacalat can you provide some guidance on what should be the next steps? @baltzis upload it please, maybe will give more context. |
|
|
OK. Here is the .htaccess file. htaccess (1,146 bytes)
<IfModule mod_rewrite.c>
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
# deny access to hidden files and directories except .well-known
RewriteCond %{REQUEST_URI} !^/\.well-known
RewriteRule ^(.*/)?\.+ - [F]
# deny access to composer.json that is used for remote fingerprinting
RewriteRule ^composer.json - [F]
# issue #19865
RewriteRule ^setdebug.php - [F]
</IfModule>
# deny access to hidden files and directories without mod_rewrite
RedirectMatch 403 ^/(?!\.well-known/)(.*/)?\.+
# General setting to properly handle LimeSurvey paths
# AcceptPathInfo on
# XSS protection
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode=block"
<FilesMatch "\.(svgz?)$">
Header set Content-Security-Policy "default-src 'none'; frame-ancestors 'none'; style-src 'self' 'unsafe-inline'"
</FilesMatch>
</IfModule>
# Disable Multiviews (issue #16859)
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
|
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-04-02 18:12 | baltzis | New Issue | |
| 2025-04-07 16:52 | tibor.pacalat | Assigned To | => gabrieljenik |
| 2025-04-07 16:52 | tibor.pacalat | Status | new => assigned |
| 2025-04-11 14:37 | gabrieljenik | Note Added: 82413 | |
| 2025-04-11 14:37 | gabrieljenik | Bug heat | 0 => 2 |
| 2025-04-13 19:22 | baltzis | Note Added: 82416 | |
| 2025-04-13 19:22 | baltzis | Bug heat | 2 => 4 |
| 2025-04-13 19:31 | baltzis | Note Added: 82417 | |
| 2025-04-22 18:22 | gabrieljenik | Note Added: 82462 | |
| 2025-04-22 18:22 | gabrieljenik | Status | assigned => feedback |
| 2025-04-23 10:08 | baltzis | Note Added: 82466 | |
| 2025-04-23 10:08 | baltzis | Status | feedback => assigned |
| 2025-04-23 15:04 | gabrieljenik | Note Added: 82467 | |
| 2025-04-23 18:25 | baltzis | Note Added: 82472 | |
| 2025-04-23 21:29 | gabrieljenik | Note Added: 82473 | |
| 2025-04-24 00:18 | baltzis | Note Added: 82477 | |
| 2025-04-24 15:23 | gabrieljenik | Note Added: 82483 | |
| 2025-04-24 16:56 | baltzis | Note Added: 82484 | |
| 2025-04-24 16:56 | baltzis | File Added: htaccess |