Deploying Limesurvey static and dynamic resources on separate web servers

1 year 2 weeks ago #184254 by Marada78
Hi.I Hope this is the right section.
I need to deploy LimeSurvey on a 3-layered architecture with a Web Server for static resources (i.e. static html, images, css, js) , a Web Server for dynamic (i.e. php files) plus the DB Server.
Is this architecture supported by LimeSurvey? Is it by means of configuration or coding? What is the easiest and fastest way to attain it?

Thanks in advance.

Please Log in to join the conversation.

1 year 2 weeks ago #184257 by DenisChenu
DB on another server : no issue, directly supported.

For css/js and image : it was generated as assets.

The PHP server need write access on this directory when assets is generated.

You can update url and directory : in config.php file (on Yii array, not LS array). But need update and testing. See basePath and baseUrl

You can surely construct a class (an Yii extension) to save assets in a external server , see for sample.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now