[英]Typo3 HTTP to HTTPS backend not accessible
After trying to switch from http to https I cannot access the typo3 backend and frontend anymore.尝试从 http 切换到 https 后,我无法再访问 typo3 后端和前端。 The browser only shows blank pages.浏览器只显示空白页。
The install tool is still accessible, however.但是,仍然可以访问安装工具。
My question is: How can I revert all changes?我的问题是:如何恢复所有更改?
The only things I did was...我唯一做的就是...
1) adding the following lines to the .htaccess
file in the root directory: 1)在根目录下的.htaccess
文件中加入以下几行:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
2) and setting $TYPO3_CONF_VARS[BE][lockSSL] = 2
(default was = 0). 2) 并设置$TYPO3_CONF_VARS[BE][lockSSL] = 2
(默认为 = 0)。
Version: TYPO3 CMS 6.2.0
版本: TYPO3 CMS 6.2.0
For reverting, you just have to remove the added lines in the .htaccess
and set $TYPO3_CONF_VARS[BE][lockSSL] = 0
(eg via FTP or SSH)要恢复,您只需删除.htaccess
中添加的行并设置$TYPO3_CONF_VARS[BE][lockSSL] = 0
(例如通过 FTP 或 SSH)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.