- Posts: 88
- Thank you received: 17
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Set URL
- urbana
- Topic Author
- Offline
- Premium Member
Less
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:
Is that wrong or the wrong setting?
Thank you!
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 months 1 week ago #252340
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 Set URL
I think
manual.limesurvey.org/Optional_settings#Request_settings
request/hostInfo work better
Never use homeurl, unsure it work.
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.