Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #194: A multiple instanceS installation layout

bug This entry was marked as not being an idea the 10 September 10.
Written by fhebert the 6 Sep 10 at 11:58. Related project: 1.x all. Status: Not an idea
Rationale
Use case :

I work at an university which some departments want to use LS for their research project. I would like to install LS in a multi-instance mode, one instance for each project. Every instance would share the very same source folder with Front end scripts and admin scripts eg the actual limesurvey folder.

This layout is very much like for example Typo3's installation layout on an Unix.

For now, it seems that we could find a workaround in installing the admin folder outside the limesurvey archive and share it with every instance, but it is not so helpfull because LS puts all files in the same archive. (For example, Typo3 comes with two archives one for the instance folder and one for the source folder).

Following is a layout example :

an instance folder :

/srv/www/lime-survey-instance1
/srv/www/lime-survey-instance1/config-defaults.php
/srv/www/lime-survey-instance1/config.php
/srv/www/lime-survey-instance1/tmp/
/srv/www/lime-survey-instance1/uploads/
/srv/www/lime-survey-instance1/uploads/templates
/srv/www/lime-survey-instance1/limesurvey => /usr/local/share/limesurvey


the source folder :

/usr/local/share/limesurvey
/usr/local/share/limesurvey/index.php
...
/usr/local/share/limesurvey/admin
/usr/local/share/limesurvey/admin/admin.php

(sorry for the category but no one fits my needs)

0
votes
closed
Solution #1: Modifying include directives to the new layout
Written by fhebert the 6 Sep 10 at 11:58.
Don't know exactly what to do.
Maybe move FE php scripts in a subfolder and switch include/require_once directives to take into account a variable which would be defined in the config.php file.

Is it the $rootdir variable ?

Propose your solution


Duplicates


Comments
No comments.

Post your comment