mod_ajp proxy and ssl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mod_ajp proxy and ssl

Vince Clark
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>

Reply | Threaded
Open this post in threaded view
|

Re: mod_ajp proxy and ssl

rajsaini
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>
>
>
>