Welcome, Guest
Username: Password: Remember me

TOPIC: One copy of LimeSurvey hosted on multiple domains

One copy of LimeSurvey hosted on multiple domains 5 months 1 week ago #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.
Last Edit: 5 months 1 week ago by paulatthehug.
The administrator has disabled public write access.

One copy of LimeSurvey hosted on multiple domains 5 months 1 week ago #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
The administrator has disabled public write access.

One copy of LimeSurvey hosted on multiple domains 5 months 1 week ago #105086

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6205
  • Thank you received: 787
  • Karma: 238
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
The administrator has disabled public write access.

One copy of LimeSurvey hosted on multiple domains 5 months 1 week ago #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.
The administrator has disabled public write access.

One copy of LimeSurvey hosted on multiple domains 5 months 1 week ago #105095

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

to
    RewriteRule . /index.php

fixes it.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.372 seconds
Donation Image