Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的机器上有一个站点(本地)。 用户过去使用 HTTP 和 HTTPS 访问它。现在HTTPS配置有问题。[它不起作用] 是否可以暂时将HTTPS请求重定向到HTTP端口?
在您的 .htaccess 文件中粘贴以下代码:
RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]