configure apache to authenticate before connecting to tomcat

configure apache to authenticate before connecting to tomcat

am 14.06.2007 19:34:24 von christopher

Greetings!
I connect from apache to tomcat with mod_jk
I want apache to authenticate before it connects to tomcat.
I have tried using this:

AuthType Basic
AuthUserFile /usr/local/apache/passwords
AuthName "Beta Test"
require valid-user


which blocks all apache files apache would serve but allows connection
to tomcat without authenticating.

I have tried this:

AuthType Basic
AuthUserFile /usr/local/apache/passwords
AuthName "Beta Test"
require valid-user


and


(etc)

which doesn't seem to do anything

thanx!

Re: configure apache to authenticate before connecting to tomcat

am 14.06.2007 19:44:49 von christopher

simple typo:

should have been

(leading "/")
thanx!


On Jun 14, 10:34 am, christop...@dailycrossword.com wrote:
> Greetings!
> I connect from apache to tomcat with mod_jk
> I want apache to authenticate before it connects to tomcat.
> I have tried using this:
>
> AuthType Basic
> AuthUserFile /usr/local/apache/passwords
> AuthName "Beta Test"
> require valid-user
>

>
> which blocks all apache files apache would serve but allows connection
> to tomcat without authenticating.
>
> I have tried this:
>
> AuthType Basic
> AuthUserFile /usr/local/apache/passwords
> AuthName "Beta Test"
> require valid-user
>

>
> and
>
>
> (etc)
>
> which doesn't seem to do anything
>
> thanx!