80

tomcat配置重定向及域名-小飞侠-51CTO博客

 6 years ago
source link: http://blog.51cto.com/jack88/2067601
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1,使用户HTTP访问自动重定向为HTTPS,直接在http.conf最后配置即可,在httpd.conf文件尾加入如下内容:RewriteEngineonRewriteCond%{SERVER_PORT}!^443$RewriteRule^/?(.*)$[L,R]2,配置域名<EnginedefaultHost="localhost"name="Catalin

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK