You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Vince M. Clark" <vc...@globalera.com> on 2008/09/01 23:22:43 UTC

mod_ajp proxy and ssl

Following the documentation on the wiki I was able to get this working. 
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD 

It works for http. How do I set it up for https? 
Here is my Apache virtual host file: 
<VirtualHost company.com> 
DocumentRoot "/var/www/company" 
ProxyPreserveHost On 
proxyPass / ajp://localhost:8009/ 
RewriteEngine On RewriteRule ^/(images/.+);jsessionid=\w+$ /$1 
</VirtualHost> 


Re: mod_ajp proxy and ssl

Posted by Raj Saini <ra...@gmail.com>.
Hi Vince,

https works same as http. Create another virtual host for https 
(standard port 443). You  will need to add SSL certificate and keys etc 
in our https virtual host. Look for ssl in apache server docs.

Thanks,

Raj

Vince M. Clark wrote:
> Following the documentation on the wiki I was able to get this working. 
> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD 
>
> It works for http. How do I set it up for https? 
> Here is my Apache virtual host file: 
> <VirtualHost company.com> 
> DocumentRoot "/var/www/company" 
> ProxyPreserveHost On 
> proxyPass / ajp://localhost:8009/ 
> RewriteEngine On RewriteRule ^/(images/.+);jsessionid=\w+$ /$1 
> </VirtualHost> 
>
>
>