In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to force the jump to https in the Apache environment, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. Add the following settings in httpd-ssl.conf:
DocumentRoot "D:/web/xxx" ServerName xxx.com:443 ServerAdmin admin@example.com ErrorLog "D:/xampp/apache/logs/xxx_https_error.log" TransferLog "D:/xampp/apache/logs/xxx_https_access.log"
2. Add the following to the virtual domain name configuration of the httpd-vhosts.conf file:
RewriteEngine on RewriteCond% {HTTPS}! = on RewriteRule ^ (. *) https://%{SERVER_NAME}$1 [LMague R]
In this way, when you enter www.xxx.com to visit the website, you will automatically jump to https://www.xxx.com.
The complete record is as follows:
Options FollowSymLinks Includes ExecCGI AllowOverride All Require all granted ServerAdmin 877040117@qq.com DocumentRoot "D:/web/xxx" ServerName www.xxx.com RewriteEngine on RewriteCond% {HTTPS}! = on RewriteRule ^ (. *) https://%{SERVER_NAME}$1 [L R] ErrorLog "logs/xxx-error.log" CustomLog "logs/xxx-access.log" common is how to force a jump to https in an Apache environment Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 216
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.