Apache in front of Glassfish v3 with SSL using mod_proxy_ajp

女生的网名这么多〃 提交于 2019-12-04 16:59:35

That is a lot of questions! It sounds like you're trying to proxy GlassFish through Apache so users can access your applications on standard ports (80 and 443), and you've got multiple applications, multiple domains, and you want to use SSL.

Well, you've got a lot of work ahead of you then! You're probably going to need to look into virtual hosting on Apache; in particular, one virtual host for webmail.mydomain.com and then another for mydomain.com.

If you don't have two IP addresses (two NICs) on your webserver then you'll have to use name-based virtual hosting. Be aware that name-based virtual hosting and SSL don't work together easily; you'll probably have to use an SSL certificate with common name mydomain.com and alias webmail.mydomain.com (altSubjectName extension).

Information on configuring Apache can be found here:

http://httpd.apache.org/docs/2.2/vhosts/

Information on using name-based virtual hosting with SSL can be found here:

http://wiki.apache.org/httpd/NameBasedSSLVHosts

Information on configuring GlassFish can be found here:

http://download.oracle.com/docs/cd/E18930_01/html/821-2416/gfaad.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!