From a24a937579d61d783839e9da27f90a0281c1f3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 27 Apr 2016 10:37:31 +0200 Subject: [PATCH] Make FAQ more generic in regard to webservers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- doc/faq.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/faq.rst b/doc/faq.rst index 05bf62ee43..1697b53cd9 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -563,8 +563,12 @@ You can also disable the warning using the :config:option:`$cfg['SuhosinDisableW 1.39 When I try to connect via https, I can log in, but then my connection is redirected back to http. What can cause this behavior? ------------------------------------------------------------------------------------------------------------------------------------ -Be sure that you have enabled ``SSLOptions`` and ``StdEnvVars`` in -your Apache configuration. +This is caused by the fact that PHP scripts have no knowledge that the site is +using https. Depending on used webserver, you should configure it to let PHP +know about URL and scheme used to access it. + +For example in Apache ensure that you have enabled ``SSLOptions`` and +``StdEnvVars`` in the configuration. .. seealso::