Deploying Limesurvey static and dynamic resources on separate web servers

More
3 months 1 week 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 or Create an account to join the conversation.

More
3 months 1 week 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 : www.yiiframework.com/doc/api/1.1/CAssetManager 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 github.com/andremetzen/yii-s3assetmanage...bbf2258af/README#L26 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!