Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

2 URL and error404

  • f.risse
  • f.risse's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 days 18 hours ago - 5 days 17 hours ago #270511 by f.risse
2 URL and error404 was created by f.risse
Please help us help you and fill where relevant:
LimeSurvey version: LimeSurvey Community Edition Version 6.14.0+250520
Own server or LimeSurvey Cloud: Own
Survey theme/template: Own
==================
I have an issue and couldn't find a solution by myself or in this forum.
I recently updated via ComfortUpdate but the issue dosnt need to correlate with the issue.

One of our surveys has the URL “https://survey.[myServer].de/[surveyname]” for example: “https:survey.lime.de/coustumersatisfaction”
This URL is displayed in Overview -> Share Survey and is also send per E-Mail to the participants.
If I click on the URL, I get an error404.

If I click on "Run Survey" the URL is "https://survey.[myServer].de/index.php/414614?newtest=Y&lang=de" and works fine.

I don't know if the URL was like that before.
The survey worked fine over the link send via E-Mail a few Weeks ago, but I don't know which link it was.
I don't know if a coworker changed anything.

I searched for this topic in the English and German forum.
Thanks for the help.
F. Risse
Last edit: 5 days 17 hours ago by f.risse.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 days 15 hours ago - 5 days 15 hours ago #270513 by holch
Replied by holch on topic 2 URL and error404

One of our surveys has the URL “https://survey.[myServer].de/[surveyname]” for example: “https:survey.lime.de/coustumersatisfaction”
This URL is displayed in Overview -> Share Survey and is also send per E-Mail to the participants.
If I click on the URL, I get an error404.


So this looks like someone had setup a specific URL-rewrite OUTSIDE of Limesurvey, because from within Limesurvey you will not get a survey of the type you describe.

So you need to check with the person responsible for the server / DNS, etc.to check what happened to this URL redirected. Probably got lost in an update of the server.

And of course I assume that this is not the URL you are talking about, because I wouldn't be surprised that this URL doesn't work, because it is not well formed and is missing a few //.
Code:
https:survey.lime.de/coustumersatisfaction
 
[quote]
This URL is displayed in Overview -> Share Survey and is also send per E-Mail to the participants.[/quote]

This sounds strange. Because Limesurvey does not create this type of URL. So someone must have hacked the installation. Could you show a screenshot of that?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 5 days 15 hours ago by holch.

Please Log in to join the conversation.

  • f.risse
  • f.risse's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 days 13 hours ago #270518 by f.risse
Replied by f.risse on topic 2 URL and error404
Thanks for the quick reply.

Two others and me are the only person who have access to DNS, proxy or firewall, and we didn't change anything that could be connected to this issue.

Same with the Server.
Forgot to add: the server is an Ubuntu Server with Apache and an SSL configuration.
I already checked the SSL file, config.php and a few other configurations but found nothing.
I think it must be an issue with this particular survey because all other surveys work fine.
Furthermore, I think that it's not an redirection error because the link in LimeSurvey itself is wrong. (See attachment)

My last resort would be changing the URL in the DB if that's possible.

And yes, I forgot to type the "//" in my topic.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 days 12 hours ago #270520 by holch
Replied by holch on topic 2 URL and error404
Well, that is exaclty what makes me wonder. I am not aware that Limesurvey this type of URL (with a speaking title and not the survey ID) is even possible within Limesurvey (the "Kundenzufriedenheit" part).

But I have seen that you can set this in "Survey Alias" under "Text Elements". I had not noticed this "new" feature.

What is set in the "Survey Alias" file?

And this feature probably creates a .htaccess file to point this alias to the "real" survey URL with the survey ID. So that is probably were the error is.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: f.risse

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 days 14 hours ago #270529 by tpartner
Replied by tpartner on topic 2 URL and error404
Maybe enable survey alias.

- www.limesurvey.org/manual/Text_elements/en

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • f.risse
  • f.risse's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 days 14 hours ago #270530 by f.risse
Replied by f.risse on topic 2 URL and error404
Thank you.
Just saw that a coworker wrote sth. in the survey alias.
I needed an internal redirection in my ssl.conf.

Please Log in to join the conversation.

  • f.risse
  • f.risse's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 days 14 hours ago #270532 by f.risse
Replied by f.risse on topic 2 URL and error404
I don't know if it's a good “feature” if a normal user can set a survey alias which alters the link.
I just tried it with a completly new survey and as soon as I change the survey alias the link gets useless, and I need to redirect it.

Is it possible for the admin to deactivate this feature or automate a redirectrule?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 days 13 hours ago #270533 by holch
Replied by holch on topic 2 URL and error404
This feature was probably exactly done for this: So that a normal user can have simpler "speaking" survey links and do not have to mess with things like htaccess, etc.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose