separat URLs for admin and survey

More
3 years 1 week ago - 3 years 1 week ago #115048 by Boomer123
Boomer123 created the topic: separat URLs for admin and survey
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: 3 years 1 week ago by Boomer123. Reason: URL are interpreted instead of displayed

Please Log in to join the conversation.

More
3 years 1 week ago #115050 by holch
holch replied the 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'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 1 week ago - 3 years 1 week ago #115105 by DenisChenu
DenisChenu replied the topic: separat URLs for admin and survey
Hi,

I already tested
'request' => array(
'hostInfo' => 'http://www.example.com/limesurvey',
),
and
$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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 3 years 1 week ago by DenisChenu.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!