如果您想禁用SSL而无需使用命令,则可以手动编辑ssl配置文件中的SSLEngine指令(通常位于/etc/apache2/sites-enabled/default-ssl.conf)
更改为:
SSLEngine on
to:
SSLEngine off
重启 Apache
sudo service apache2 restart
来源:https://httpd.apache.org/docs/2.4/mod/mod_ssl.html
mod_ssl是一个Apache模块,它提供了对SSL / TLS加密的支持。这个模块可以用来为Web服务器和客户端之间的通信提供安全性。
.htaccess
样式文件。如果您了解http服务器中如何执行重定向,则此任务可能会更容易。然后您就可以更清楚地了解您要查找的内容。 - arkascha/etc/apache2
或/etc/httpd
或类似的位置。你要找的是像RewriteRule
这样的东西... - arkascha