- Posts: 12
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
return array( 'components' => array( 'db' => ***, 'log' => array( 'routes' => array( 'fileError' => array( 'class' => 'CFileLogRoute', 'levels' => 'warning, error', 'except' => 'exception.CHttpException.404', ), ), ), // Enforce a certain URL base 'request' => array( 'hostInfo' => 'https://domain/' ), // Uncomment the following line if you need table-based sessions // 'session' => array ( // 'class' => 'application.core.web.DbHttpSession', // 'connectionID' => 'db', // 'sessionTableName' => '{{sessions}}', // ), 'urlManager' => array( 'urlFormat' => 'path', 'rules' => array( // You can add your own rules here ), 'showScriptName' => true, ), ), // For security issue : it's better to set runtimePath out of web access // Directory must be readable and writable by the webuser // 'runtimePath'=>'/var/limesurvey/runtime/' // Use the following config variable to set modified optional settings copied from config-defaults.php 'config'=>array( // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory // on your webspace. // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates 'debug'=>0, 'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2 'enableLdap'=>true, // Update default LimeSurvey config here 'sitename' => 'Our LimeSurvey', 'RPCInterface' => 'json', //'publicurl' => 'https://domain/', //'homeurl' => 'https://domain/admin', ) );
'request' => array( 'hostInfo' => 'https://domain/' ),
I have only one IP, and i really don't need proxy …The reason for this setup is that I have only one official IP but want to serve several sites and services (Moodle, Mahara, Nextcloud, QueXF, BigBlueButton, ...)
This is the reason i ask you to set neither …cadguru wrote: It would be great if LimeSurvey could just answer the request without modifying the protocol...
With neither : LimeSurvey didn't update the protocol it receive.cadguru wrote: But LimeSurvey seems to update the protocol once again.
'session' => array ( 'sessionName' => "LimeSurveyByProxi", 'cookieParams' => array( 'secure' => true, // use SSL for cookies 'httponly' => true // Cookies may not be used by other protocols - experimental 'domain' => '.example.org', ), ), 'request' => array( 'hostInfo' => 'https://www.example.org/' ),