- Posts: 13597
- Thank you received: 2487
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
$rooturl
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
9 years 9 months ago - 9 years 9 months ago #110417
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic $rooturl
manual.limesurvey.org/Tokens#Wrong_domai...Freminder_email_link
and
manual.limesurvey.org/Optional_settings#Request_settings
and
manual.limesurvey.org/Optional_settings#Request_settings
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 9 years 9 months ago by DenisChenu.
The topic has been locked.
- e_lannaud
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
7 years 5 days ago - 7 years 5 days ago #152465
by e_lannaud
Replied by e_lannaud on topic $rooturl
It's not work.. each time i save the configuration, it's redirected to http:\/\/secure.domain.org/survey-2017/
in application/extensions/LimeScript/LimeScript.php is test to change:
It modifies as well the baseUrl":"https:\/\/secure.domain.org\/survey-2017":
I "solve" the problem to create a VH: http:\/\/secure.domain.org with rewrite URI to https:\/\/secure.domain.org...
Is it possible the create this HTTPS/HTTP configuation ?
Thank you.
Eric
Code:
https://secure.domain.org/survey-2017/ | ------ | ------ ------------------------------------ Client|-https->| LB |-http->| VH-internal:1234/survey-2017 | ------ ------ | Limesurvey version: 2.57.1+161205 | ------------------------------------
in application/extensions/LimeScript/LimeScript.php is test to change:
Code:
//$data['baseUrl'] = Yii::app()->getBaseUrl(true); $data['baseUrl'] = Yii::app()->getConfig("publicurl");
Code:
<script type="text/javascript"> /*<![CDATA[*/ LS.data = {"baseUrl":"https:\/\/secure.domain.org\/survey-2017","showScriptName":true,"urlFormat":"path","adminImageUrl":"\/survey-2017\/styles\/Sea_Green\/images\/","csrfToken":"ef39d73f0b8b4xxxxx75ef52d1e6dcax5d","language":"en","replacementFields":{"path":"\/survey-2017\/index.php\/admin\/limereplacementfields\/sa\/index"}}; $.ajaxSetup({data: {YII_CSRF_TOKEN: LS.data.csrfToken}}); /*]]>*/ </script>
I "solve" the problem to create a VH: http:\/\/secure.domain.org with rewrite URI to https:\/\/secure.domain.org...
Is it possible the create this HTTPS/HTTP configuation ?
Thank you.
Eric
Last edit: 7 years 5 days ago by e_lannaud.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11637
- Thank you received: 2737
7 years 5 days ago #152470
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic $rooturl
I have seen a similar problem before where \/ were inserted. I can't recall what the issue was, but it should be fixed in the latest version.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: e_lannaud
The topic has been locked.