logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_jk multiple apps ssl
Author
b0s



Joined: 15 Nov 2013
Posts: 2
Location: Estonia, Tartu

PostPosted: Fri 15 Nov '13 16:00    Post subject: mod_jk multiple apps ssl Reply with quote

Hi
So I have a tomcat webapp and a apache mod_jk setup with it.
Lets say the main app is https://hostname/app
I also have a login page for the main app that is a tomcat .war. Lets say http://hostname/login.
So far so good.
I want for the main app to use SSL (https) and request authentication(SSLVerifyClient require) and for the login I want to use also https but no authentication "SSLVerifyClient none".
The main app is under <VirtualHost _default_:443> and the login page <VirtualHost _default_:80>
So how do I do this that both require https but only the main app uses "SSLVerifyClient require"

Much thanks in advance!

edit: not understandable? Let me try to rephrase:
How to seperate 2 tomcat webapps(host/app12) into two different virtualhosts that both use https (<VirtualHost _default_:443>) Using mod_jk.
Another question... how would I block or redirect a part of the sitemap. Eg host/app is not accessible, but host/app/site is accessible.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 26 Nov '13 16:34    Post subject: Reply with quote

There ary some examples on the net. One is http://agiletesting.blogspot.co.uk/2007/05/apache-virtual-hosting-with-tomcat-and.html

https://www.google.de/search?q=mod_jk+apache+vhost
Back to top
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Mon 27 Jan '14 18:14    Post subject: Re: mod_jk multiple apps ssl Reply with quote

b0s wrote:
how would I block or redirect a part of the sitemap. Eg host/app is not accessible, but host/app/site is accessible.


Use JkUnMount directive before JkMount.
Back to top


Reply to topic   Topic: mod_jk multiple apps ssl View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules