Welcome to the LimeSurvey Community Forum

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

LimeSurvey 2.05 routes managiing

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
14 hours 6 minutes ago #269553 by stevelegare
LimeSurvey 2.05 routes managiing was created by stevelegare
Your LimeSurvey version: 2.05
Own server or LimeSurvey hosting: own

==================Hello,We are migrating to a new version of LS on a different server and would like to disable access to the standard links leading to the forms.I considered commenting the following lines in the
Code:
config/routes.php
file, but curiously, the changes only take effect in the local environment, not in production.
Code:
/*$route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>/tk-<_token:\w+>/*'] = "survey/index/sid/<_sid>/lang/<_lang>/token/<_token>"; // This rule must be the first $route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>/*'] = "survey/index/sid/<_sid>/lang/<_lang>"; $route['<_sid:\d+>/tk-<_token:\w+>/*'] = "survey/index/sid/<_sid>/token/<_token>"; $route['<_sid:\d+>/*'] = "survey/index/sid/<_sid>"; $route['<sid:\d+>'] = array('survey/index','matchValue'=>true); */
Could you assist me with this issue?Thank you in advance.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose