Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: One copy of LimeSurvey hosted on multiple domains

One copy of LimeSurvey hosted on multiple domains 1 Jahr 2 Wochen her #105060

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: 1 Jahr 2 Wochen her von paulatthehug.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

One copy of LimeSurvey hosted on multiple domains 1 Jahr 2 Wochen her #105062

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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

One copy of LimeSurvey hosted on multiple domains 1 Jahr 2 Wochen her #105086

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6886
  • Dank erhalten: 925
  • Karma: 275
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

One copy of LimeSurvey hosted on multiple domains 1 Jahr 2 Wochen her #105094

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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

One copy of LimeSurvey hosted on multiple domains 1 Jahr 2 Wochen her #105095

Yes, it's mod_rewrite. It looks like changing
    RewriteRule . index.php

to
    RewriteRule . /index.php

fixes it.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.383 Sekunden
Donation Image