- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
LimeSurvey wrong Url (reverse-proxy)
- RoHase
- Topic Author
- Offline
- New Member
Less
More
10 months 4 weeks ago #243832
by RoHase
LimeSurvey wrong Url (reverse-proxy) was created by RoHase
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 6.1.0+230522
Own server or LimeSurvey hosting: SelfHosted Fedora Linux
Survey theme/template: default
==================
Hi,
i have LimeSurvey running on a LinuxServer (eg host01.dom.loc) behind a Nginx-Reverse-Proxy in DMZ (two different Linux-Servers).
the Url is service.domainname.com/limesurvey and redirect to host01.dom.local works.
The Problem is now - the "Share Survey" Link should show:
service.domainname.com/limesurvey/index....x&sid=912345&lang=de
but it shows the local hostname instead:
host01.dom.local/limesurvey/index.php?r=...x&sid=912345&lang=de
I tried some Changes in config.php
'publicurl' => ' service.domainname.com/limesurvey ',
'rooturl' => ' service.domainname.com/limesurvey ',
'homeurl' => ' service.domainname.com/limesurvey ',
but none of them works...
Hope someon coud give me a hint?
Thanks
Your LimeSurvey version: LimeSurvey Community Edition Version 6.1.0+230522
Own server or LimeSurvey hosting: SelfHosted Fedora Linux
Survey theme/template: default
==================
Hi,
i have LimeSurvey running on a LinuxServer (eg host01.dom.loc) behind a Nginx-Reverse-Proxy in DMZ (two different Linux-Servers).
the Url is service.domainname.com/limesurvey and redirect to host01.dom.local works.
The Problem is now - the "Share Survey" Link should show:
service.domainname.com/limesurvey/index....x&sid=912345&lang=de
but it shows the local hostname instead:
host01.dom.local/limesurvey/index.php?r=...x&sid=912345&lang=de
I tried some Changes in config.php
'publicurl' => ' service.domainname.com/limesurvey ',
'rooturl' => ' service.domainname.com/limesurvey ',
'homeurl' => ' service.domainname.com/limesurvey ',
but none of them works...
Hope someon coud give me a hint?
Thanks
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11661
- Thank you received: 2742
10 months 4 weeks ago #243838
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 LimeSurvey wrong Url (reverse-proxy)
It depends on how you log into Limesurvey. If you log into it on service.domainname.com/limesurvey/, it should also use this domain.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- RoHase
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
10 months 3 weeks ago #243856
by RoHase
Replied by RoHase on topic LimeSurvey wrong Url (reverse-proxy)
In Configuration/Interfaces i can see the correct URL
service.domainname/limesurvey
...
but in Survey - Share survey there are still the urls with the local dns Name host01.dom.local/limesurvey ...
If i create new Surveys - same wrong url. Is there some other config maybe in the Database?
but in Survey - Share survey there are still the urls with the local dns Name host01.dom.local/limesurvey ...
If i create new Surveys - same wrong url. Is there some other config maybe in the Database?
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
10 months 3 weeks ago - 10 months 3 weeks ago #243868
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 LimeSurvey wrong Url (reverse-proxy)
If you can not fix by server
There are an issue currently for publicurl : bugs.limesurvey.org/view.php?id=18821
BUT : you can force all url manual.limesurvey.org/Optional_settings/en#Request_settings
There are an issue currently for publicurl : bugs.limesurvey.org/view.php?id=18821
BUT : you can force all url manual.limesurvey.org/Optional_settings/en#Request_settings
Code:
'request' => array( 'hostInfo' => 'http://www.example.org/' ),
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: 10 months 3 weeks ago by DenisChenu.
Please Log in to join the conversation.