Welcome to the LimeSurvey Community Forum

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

Set URL

  • urbana
  • urbana's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 months 1 week ago - 5 months 1 week ago #252336 by urbana
Set URL was created by urbana
Hi, I have on server A a reverse proxy and on server B my limesurvey installation.
So limesurvey uses as URL the ip address of the server - so https://5.xx.xx.xx.x/limesurvey/

But of course I want to use the domain assigned to the reverse proxy (e.g. a.domain.com/limesurvey/)
my reverse set up works, it also works to access the public page but when limesurvey forwards, for example when I try to open a.domain.com/limesurvey/admin it forwards to the ip. 

How can I set the url to the domain? 
I tried to set homeurl as suggested here:
manual.limesurvey.org/Optional_settings#Advanced_url_settings

But that didn't work - maybe I did it wrong?

That's how I set it in my config.php:
Code:
        'config'=>array(
        // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
        // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
        // on your webspace.
        // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
                'debug'=>0,
                'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
                // Mysql database engine (INNODB|MYISAM):
                 'mysqlEngine' => 'MYISAM',
        // Update default LimeSurvey config here
                'homeurl' => 'https://sub.domain.com/limesurvey/admin'
        )


Is that wrong or the wrong setting?

Thank you! 
Last edit: 5 months 1 week ago by urbana.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252340 by DenisChenu
Replied by DenisChenu on topic Set URL
I think manual.limesurvey.org/Optional_settings#Request_settings request/hostInfo work better

Never use homeurl, unsure it work.

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.
The following user(s) said Thank You: urbana

Please Log in to join the conversation.

  • urbana
  • urbana's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 months 6 days ago #252384 by urbana
Replied by urbana on topic Set URL
Thank you!

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose