Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Deploying Limesurvey static and dynamic resources on separate web servers

  • Marada78
  • Marada78's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months 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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months 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 , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose