You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Boone <pa...@mindbucket.com> on 2007/11/20 00:38:30 UTC

Does mod_jk work with basic Apache Authentication?

I'm trying to get basic Apache authentication on Apache 2.0.59 to work with
Tomcat 5.5.25 using mod_jk 1.2.25.

I've tried using variations of JkMount / JkUnmount to forward requests on to
Tomcat, but what always happens is that:
*	any file served by Tomcat bypasses the apache authentication system.
*	any file not served by Tomcat uses the apache authentication system.

Is it possible to use Apache HTTP server to secure files served by Tomcat?
Is there an alternative I should be looking at, such as using Apache 2.2,
mod_proxy_ajp?

Any advice would be greatly appreciated as I've been experimenting,
examining the source, and scouring the internet for the last few days and so
far I haven't determined if this should even work, let alone how to get it
to work.

Thanks,

--
Paul Boone
-- 
View this message in context: http://www.nabble.com/Does-mod_jk-work-with-basic-Apache-Authentication--tf4840253.html#a13848029
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Does mod_jk work with basic Apache Authentication?

Posted by Paul Boone <pa...@mindbucket.com>.
Sorry, figured out the problem. If you see this behavior, try using Apache
<Location>elements instead of <Directory> elements.


Paul Boone wrote:
> 
> I've tried using variations of JkMount / JkUnmount to forward requests on
> to Tomcat, but what always happens is that:
> *	any file served by Tomcat bypasses the apache authentication system.
> *	any file not served by Tomcat uses the apache authentication system.
> 

-- 
View this message in context: http://www.nabble.com/Does-mod_jk-work-with-basic-Apache-Authentication--tf4840253.html#a13848845
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org