One copy of LimeSurvey hosted on multiple domains

Mehr
3 Jahre 5 Monate her - 3 Jahre 5 Monate her #105060 von paulatthehug
paulatthehug erstellte das Thema One copy of LimeSurvey hosted on multiple domains
I've already installed LimeSurvey on survey.milton.org.uk but I would now like to install it on survey.cavernoma.org.uk too, which is hosted on the same server. So, to avoid another install, I tried symlinking the root directory on the first so that it was also the root directory of the second.

This looked like it was going to work. If you visit survey.cavernoma.org.uk it looks plausible. But go to survey.cavernoma.org.uk/admin/ and you see the problem. I get:
Internal Server Error
 
The server encountered an internal error or misconfiguration and was unable to complete your request.
 
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
 
More information about this error may be available in the server error log.

And the error log says
Request exceeded the limit of 10 internal redirects due to probable configuration error.

So my question is: is it possible to host one copy of LimeSurvey hosted on multiple domains? Or am I wasting me time? Thanks.
Letzte Änderung: 3 Jahre 5 Monate her von paulatthehug.

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 5 Monate her #105062 von paulatthehug
paulatthehug antwortete auf das Thema: One copy of LimeSurvey hosted on multiple domains
Here's the output of the apache error log with debugging on, in case this helps:
[Fri Feb 14 13:59:44 2014] [error] [client 86.14.225.60] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Fri Feb 14 13:59:44 2014] [debug] core.c(3112): [client 86.14.225.60] r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /var/www/hosts/survey.cavernoma.org.uk/www/index.php
[Fri Feb 14 13:59:44 2014] [debug] core.c(3118): [client 86.14.225.60] redirected from r->uri = /admin/
[Fri Feb 14 13:59:44 2014] [debug] mod_deflate.c(615): [client 86.14.225.60] Zlib: Compressed 627 to 386 : URL /var/www/hosts/survey.cavernoma.org.uk/www/index.php

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 5 Monate her #105086 von DenisChenu
DenisChenu antwortete auf das Thema: One copy of LimeSurvey hosted on multiple domains
Hi,

I think more of an vhost config error here. Because i have already some alias with different subdirectory: ls.exemple.org/ and www.example.com/ls for example.

Or you force something somewhere in config . Https maybe ?

Denis

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 .

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 5 Monate her #105094 von paulatthehug
paulatthehug antwortete auf das Thema: One copy of LimeSurvey hosted on multiple domains
It's starting to look that way. If I use survey.cavernoma.org.uk/admin/index.php rather than survey.cavernoma.org.uk/admin it's fine ( even though the latter works on the original site to which I'm symlinking, see survey.milton.org.uk/admin ).

Odd. This smells a bit of mod_rewrite doing something odd but I may be clutching at straws.

Anyway, not to worry, I can work around this: just don't use short URLs.

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 5 Monate her #105095 von paulatthehug
paulatthehug antwortete auf das Thema: One copy of LimeSurvey hosted on multiple domains
Yes, it's mod_rewrite. It looks like changing
    RewriteRule . index.php

to
    RewriteRule . /index.php

fixes it.

Bitte Anmelden um der Konversation beizutretten.

Haben Sie schon bei unserer Kundenumfrage mitgemacht?

Verpassen Sie nicht Ihre Chance auf tolle Preise.

Klicken sie hier um teilzunehmen:

Jetzt starten

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten