Welcome to the LimeSurvey Community Forum

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

separat URLs for admin and survey

  • Boomer123
  • Boomer123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago - 9 years 4 months ago #115048 by Boomer123
separat URLs for admin and survey was created by Boomer123
Hi,
we have LimeSurvey in the DMZ. The machine has one network interface but can be accessed in two ways:
- from internal network as ' srv001.local.dom '
- from the internet through an application firewall. the firewall is reachable at www.company.com . it terminates the SSL connection and forwards the plain request to LimeSurvey

The idea is to have admin access (only) through the internal URL and survey access through the public URL.

This seems to work but there's a problem with emails. when we generate emails from LimeSurvey with links to a survey, then the link points to srv001.local.dom/limesurvey/ instead of www.company.com/limesurvey/ .
I already tried to set

'request' => array(
'hostInfo' => ' www.company.com ',
),

and

$config = ' www.company.com/ ';

but neither seems to do what we want.
So, is it possible to separate admin and public access AND create emails with public links?

Kind Regards
Boomer
Last edit: 9 years 4 months ago by Boomer123. Reason: URL are interpreted instead of displayed
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #115050 by holch
Replied by holch on topic separat URLs for admin and survey
The problem is that the emails are sent with the URL from where the login as administrator happens. If you for example use the IP stead of the domain, the same thing happens. The emails are sent out with the IP instead of the domain.

I am not sure if there is a way around it. Let's see if one of the developers will have an answer to this.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago - 9 years 4 months ago #115105 by DenisChenu
Replied by DenisChenu on topic separat URLs for admin and survey
Hi,

I already tested
Code:
'request' => array(
'hostInfo' => 'http://www.example.com/limesurvey',
),
and
Code:
$config=array(
....
'publicurl'=>'http://www.example.com/limesurvey',

It work, but you need the https (or the https)

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 4 months ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose