Global settings-Security-Force HTTPS <ON>

More
7 years 8 months ago #67247 by ly_ugs
:(
Global settings-Security-Force HTTPS <ON>
I opened the settings are results page immediately shows "HTTP 403 Forbidden error, the server refuses your browser requests, make sure you have access to."
After that I will never not enter https://localhost/limesurvey/admin/install/index.php.
apache2.2, Mysql, php5.3.1, which I have re-installed too. LimeSurvey also re-download the cover off, but no use.



Attachments:

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

LimeSurvey Partners
More
7 years 8 months ago #67262 by Mazi
Have a look at this setting which should help you out by adding it to your config.php:
/**
* @var $ssl_emergency_override boolean forces SSL off
* if You've turned HTTPS/SSL on in the global settings but your
* server doesn't have HTTPS enabled, the only way to turn it off is
* by changing a value in the database directly. This allows you to
* force HTTPS off while you change the global settings for Force Secure.
*
* false = do nothing;
* true = override $force_ssl=on;
*
* This should always be false except in emergencies where you change
* it to true until you fix the problem.
*/
$ssl_emergency_override = false;

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

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

More
7 years 8 months ago #67300 by ly_ugs
:(
Thank you for your help!!!!:P
I tried to give you data entry, but without success.installation or display HTTP 403.
I am a novice, I request a detailed solution.

Attachments:

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

More
7 years 8 months ago #67305 by Mazi
Simply add this line at the end of your config.php file and try to log in at the admin backend again:

$ssl_emergency_override = true;

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

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

More
4 years 3 months ago #117788 by bingfang
I run into this trouble to turn on force https without check web server, then survey and admin created becomes not access able.

the file to change is

application/config/config-default.php, look for $config change the setting to true.

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!