wordpress免费企业网站,东盟经济技术开发区建设网站,常见的管理信息系统有哪些,在线平面设计工具眼睛基本已经无大碍。今天使用apache连接weblogic#xff0c;并使用ssl#xff0c;终于完成#xff0c;最终选用的方式是前端使用apache来进行ssl处理#xff0c;weblogic只负责相关的业务处理。在apache一边#xff0c;载入mod_ssl.so、mod_rewrite.so和mod_wl.so#x…眼睛基本已经无大碍。今天使用apache连接weblogic并使用ssl终于完成最终选用的方式是前端使用apache来进行ssl处理weblogic只负责相关的业务处理。在apache一边载入mod_ssl.so、mod_rewrite.so和mod_wl.so注意mod_wl.so的版本之前就是因为版本不对导致了一些问题。建立80端口的虚拟主机在虚拟主机中用rewrite模块进行了https重定向RewriteCond意思是重定向的条件RewriteRule是重定向的匹配模式。使用weblogic模块进行连接weblogic的处理DocumentRoot htdocServerName localhostRewriteEngine onRewriteCond %{HTTPS} offRewriteRule /hello\.do https://%{HTTP_HOST}%{REQUEST_URI}Include conf/Weblogic.confWeblogic.cnf主要内容是WebLogicHost localhostWebLogicPort 7001SecureProxy ONMatchExpression *.jspMatchExpression *.doMatchExpression *.actionWLLogFile /tmp/wlproxy.log打开对httpd-ssl.conf的引用并修改httpd-ssl.conf在443端口的虚拟主机中加入Include conf/Weblogic.confRewriteEngine onRewriteCond %{HTTPS} onRewriteRule ^(?!.*?/hello\.do).*$ http://%{HTTP_HOST}%{REQUEST_URI}注意从https跳回http的重定向中的正则表达式代表不是hello.do的链接都跳回http。将SSLCertificateFile和SSLCertificateKeyFile的地址打开这两个地址指向生成的证书地址和生成的私钥地址。